[BP] MB-20598: AddressSanitizer problem in perfsuite 07/68107/2
authorJim Walker <jim@couchbase.com>
Thu, 25 Aug 2016 09:47:14 +0000 (09:47 +0000)
committerDave Rigby <daver@couchbase.com>
Thu, 29 Sep 2016 08:03:49 +0000 (08:03 +0000)
This test was being OOM killed so was left out of
the orginal set of fixes. Tap iterator mutation/deletions
need to be released by the client.

Change-Id: Ib65f386f1080cb2a130cfdd7d90c85dd4a871989
Reviewed-on: http://review.couchbase.org/68107
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
tests/ep_perfsuite.cc

index 87d26c9..03efd61 100644 (file)
@@ -827,11 +827,12 @@ static void perf_tap_client(struct Handle_args *ha) {
                         info.nkey) == 0) {
                 done = true;
             }
-
+            ha->h1->release(ha->h, NULL, item);
             testHarness.lock_cookie(cookie);
             break;
 
         case TAP_DELETION:
+            ha->h1->release(ha->h, NULL, item);
             break;
 
         case TAP_OPAQUE: