Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1164

Document mutation incorrectly indicated while performing CAS-based observe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.5
    • 2.3.4
    • library
    • None

    Description

      This is a continuation from NCBC-1162 - when using CAS based observe the SDK will incorrectly flag a document as mutated when it's state is NOT_FOUND or LOGICALLY_DELETED:

      2016-07-26 16:32:50,137 [17] DEBUG Couchbase.Core.Buckets.KeyObserver - Master 10.141.151.101:11210 - NotFound
      2016-07-26 16:32:50,137 [13] DEBUG Couchbase.Core.Buckets.KeyObserver - Master 10.141.151.101:11210 - LogicalDeleted
      2016-07-26 16:32:50,137 [15] DEBUG Couchbase.Core.Buckets.KeyObserver - Master 10.141.151.102:11210 - NotFound
      2016-07-26 16:32:50,139 [9] DEBUG Couchbase.IO.ConnectionBase - Complete opaque37 on ea9a824c-c7d3-4abc-a687-90f59a328170
      2016-07-26 16:32:50,139 [9] DEBUG Couchbase.IO.ConnectionPool`1[[Couchbase.IO.IConnection, Couchbase.NetClient, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]] - Releasing: ea9a824c-c7d3-4abc-a687-90f59a328170 on 10.141.151.102:11210 - 2c300439-c396-45c0-b5d7-3d1bf61ce12e
      2016-07-26 16:32:50,137 [14] DEBUG Couchbase.Core.Buckets.KeyObserver - Master 10.141.151.101:11210 - NotFound
      2016-07-26 16:32:50,139 [17] DEBUG Couchbase.Core.Buckets.KeyObserver - Mutation detected 10.141.151.101:11210 - NotFound - opaque: 32
      2016-07-26 16:32:50,137 [11] DEBUG Couchbase.Core.Buckets.KeyObserver - Master 10.141.151.101:11210 - NotFound
      2016-07-26 16:32:50,139 [11] DEBUG Couchbase.Core.Buckets.KeyObserver - Mutation detected 10.141.151.101:11210 - NotFound - opaque: 30
      2016-07-26 16:32:50,139 [13] DEBUG Couchbase.Core.Buckets.KeyObserver - Mutation detected 10.141.151.101:11210 - LogicalDeleted - opaque: 34
      

      WORK AROUND: bug does not exist when using enhanced durability for observe!

      Attachments

        Issue Links

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

          Activity

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty