Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-37153

[Durability]: SyncWrite abort increments the 'ops_delete' counter in vbucket-details stats wrongly

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      Build: 6.5.0-4908

      Scenario:

      1. 2 node cluster, couchbase bucket
      2. Stop replica memcached
      3. Perform sync_write on active vbucket with timeout=5 seconds

      Observation:

      After step #3, sync_write fails with 'DurabilityAmbiguousException'. After this, cbstats vbucket-details' ops_delete is also incremented by 1.

      Expected behavior:

      Since there is no delete operation involved this counter should not change.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          drigby Dave Rigby added a comment -

          Given the only impact this has is an incorrect statistic, changing fixVersion to CheshireCat; will aim to fix in 6.5.1.

          drigby Dave Rigby added a comment - Given the only impact this has is an incorrect statistic, changing fixVersion to CheshireCat; will aim to fix in 6.5.1.

          Build couchbase-server-6.5.1-6233 contains kv_engine commit 9d0bec0 with commit message:
          MB-37153: Abort does not increment VBucket::opsDelete

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.1-6233 contains kv_engine commit 9d0bec0 with commit message: MB-37153 : Abort does not increment VBucket::opsDelete

          Reopening this ticket to port this fix into Cheshire-Cat branch

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - Reopening this ticket to port this fix into Cheshire-Cat branch
          drigby Dave Rigby added a comment -

          Ashwin Govindarajulu Note in general we don't bother including in the fixVersion "newer" versions which haven't been released yet - for example for a bug which was found in 6.0.0 and fixed in 6.0.1, we wouldn't bother also having a fixVersion of 6.5.0 / 7.0.0 - that's assumed.

          drigby Dave Rigby added a comment - Ashwin Govindarajulu Note in general we don't bother including in the fixVersion "newer" versions which haven't been released yet - for example for a bug which was found in 6.0.0 and fixed in 6.0.1, we wouldn't bother also having a fixVersion of 6.5.0 / 7.0.0 - that's assumed.

          Works as expected in latest MH build.

          Verified using 6.5.1 build 6233

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - Works as expected in latest MH build. Verified using 6.5.1 build 6233

          Build couchbase-server-7.0.0-1546 contains kv_engine commit 9d0bec0 with commit message:
          MB-37153: Abort does not increment VBucket::opsDelete

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1546 contains kv_engine commit 9d0bec0 with commit message: MB-37153 : Abort does not increment VBucket::opsDelete

          Verified the same scenario using build 7.0.0-1569.

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - Verified the same scenario using build 7.0.0-1569.

          Build couchbase-server-6.6.0-7519 contains kv_engine commit 9d0bec0 with commit message:
          MB-37153: Abort does not increment VBucket::opsDelete

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7519 contains kv_engine commit 9d0bec0 with commit message: MB-37153 : Abort does not increment VBucket::opsDelete

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty