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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.4
    • 2.3.5
    • 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

          For Gerrit Dashboard: NCBC-1164
          # Subject Branch Project Status CR V

          Activity

            There are no comments yet on this issue.

            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