Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-301

Strange Logic in CouchbaseClient observePoll method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Core
    • Security Level: Public
    • None

    Description

      At CouchbaseClient.java line 2192 and line 2196

      They both call

      replicaPersistedTo++;

      it means when r.getValue() == ObserveResponse.NOT_FOUND_PERSISTED) && !isMaster, replicaPersistedTo will be called twice.

      Is that intensional. Looks odd to me.

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            henrichen Henri Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty