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

rebalance failing with retry_not_ready_vbuckets error if ns_server janitors sets the vbucket state from pending to dead when rebalance fails or stops


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 1.7.0,, 1.8.0
    • Fix Version/s: 1.7.2
    • Component/s: ns_server
    • Security Level: Public
    • Labels:


      when rebalance fails or is stopped by the user the vbucket state for those rebalance operations which were making progress are still pending.
      ns_server janitor runs every few seconds which will change the vbucket state from pending->dead

      now when the user restarts the rebalance sooner than 5 minutes ep-engine will try to reuse that tap stream and will not send TAP_VBUCKET_SET when restarting the takeover and since the vbucket state is dead now ep-engine will not start the vbucket transfer and this will result in rebalance getting stuck.

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


        No work has yet been logged on this issue.


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


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes