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

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.5.3
    • Component/s: None
    • Labels:
      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

              • Assignee:
                mike.goldsmith Michael Goldsmith
                Reporter:
                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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.