Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.5.2
-
None
-
None
Description
The RemoveAsync variants that include durability requirements (PersistTo & ReplicateTo) are not supported on MemcachedBuckets. The sync versions of Remove throw NotSupportExceptions as expected.
The following methods should return NotSupportedException instead of trying to remove the document key:
RemoveAsync(string, ReplicateTo)
RemoveAsync(string, ReplicateTo, PersistTo)
RemoveAsync(string, long, ReplicateTo)
RemoveAsync(string, long, ReplicateTo, PersistTo)
RemoveAsync(Document<T>(), ReplicateTo)
Attachments
Issue Links
- relates to
-
NCBC-1553 Add unit tests for Memcached unsupported operations
- Resolved
For Gerrit Dashboard: NCBC-1566 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
85113,5 | NCBC-1566: Remove support for RemoveAsync with durability in MemcachedBucket | master | couchbase-net-client | Status: MERGED | +2 | +1 |