Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7160

if flush times out final stage (janitor creating vbuckets back) it returns success causing clients to see TMPFAIL after flush succeeds (WAS: there are reports that even after invoking FLUSH nodes return TMPFAIL...)


    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-beta-2, 2.0.1, 2.1.0
    • Fix Version/s: bug-backlog
    • Component/s: ns_server
    • Security Level: Public
    • Triage:
    • Is this a Regression?:


      "reported by SDK team"
      After a flush (through REST) for a time we still get tmpfail returned by server nodes. This is not expected, and would be kind of annoying from an application and/or cause problems with automated tests.


      I've updated subject. Indeed this is possible. But IMHO given that clients should always be prepared to handle TMPFAIL out of everything I've lowered down to minor.

      further update:

      I disagree on the "always be able to handle TMPFAIL", especially in the case of running tests at the SDK side. At the moment, we ask our users to handle tmpfail directly. That's intentional and seems to make sense as a pressure relief valve for steady state, but between these flushes and especially from unit tests, it'd be best if the cluster could just block either the operation request or the flush response until complete.

      Raising this to major owing to end-user reports of trouble here.

      1. test.rb
        0.3 kB
        Sergey Avseyev
      2. test.txt
        0.4 kB
        Sergey Avseyev

        Issue Links

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


          There are no open Gerrit changes for this issue.


            • Assignee:
              cihan Cihan Biyikoglu
              farshid Farshid Ghods (Inactive)
            • Votes:
              0 Vote for this issue
              9 Start watching this issue


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes