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

Add new consistency API to SDK 3.0

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0
    • library
    • 1
    • SDK40: Verif2,Bugs,Docs,Retry, SDK42: Verif2,Retr,RTO,Circuit, SDK44: βref(1),CombT,Migration, SDK48: βref(2),CombT,Migr., SDK50: βref(2),CombT,Migr., SDK52: B/GA, Doc:Migr/Stngs/Co, SDK1: GA and Priority List

    Description

      interface Consistency { // or Consistency REQUEST_PLUS = new RequestPlus(); Consistency requestPlus() { return REQUEST_PLUS; } Consistency atPlus(MutationState state) { return new AtPlus(state); } } options.consistency(Consistency.requestPlus()); // or options.consistency(Consistency.REQUEST_PLUS);options.consistency(Consistency.atPlus(state));
      

      Attachments

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

        Activity

          jmorris Jeff Morris added a comment - It looks like this was implemented sometime back by Mike: https://github.com/couchbase/couchbase-net-client/blob/master/tests/Couchbase.IntegrationTests/SynchronousDurabilityTests.cs

          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