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

Memcached.RemoveAsync with durability does not throw NotSupportedException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.2
    • 2.5.3
    • 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

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

          Activity

            There are no comments yet on this issue.

            People

              mike.goldsmith Michael Goldsmith
              mike.goldsmith Michael Goldsmith
              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