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
- relates to
-
NCBC-1162 Make Observe fail-fast when document mutation is encountered
- Resolved