Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MB-7467 Reset task start time after being interrupted

So that there's no re-attempt to terminate an idle isolate
if the same mapreduce context is not re-used within the
next termination period.

Change-Id: Ia9f2a3b3e17cb8abdc055913192ae450a21fd881
Reviewed-on: http://review.couchbase.org/24953
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
  • Loading branch information...
commit 1821deebb31e99acec6b5f8d9bc5e7920ae51843 1 parent 8a3a359
@fdmanana fdmanana authored fdmanana committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/mapreduce/mapreduce.cc
View
1  src/mapreduce/mapreduce.cc
@@ -563,6 +563,7 @@ void taskFinished(map_reduce_ctx_t *ctx)
void terminateTask(map_reduce_ctx_t *ctx)
{
V8::TerminateExecution(ctx->isolate);
+ taskFinished(ctx);
}
Please sign in to comment.
Something went wrong with that request. Please try again.