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

    Details

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

      Description

      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.

        Activity

        farshid Farshid Ghods (Inactive) created issue -
        farshid Farshid Ghods (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Chiyoung Seo [ chiyoung ]
        Resolution Fixed [ 1 ]
        ingenthr Matt Ingenthron made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Chiyoung Seo [ chiyoung ] Farshid Ghods [ farshid ]
        ingenthr Matt Ingenthron made changes -
        Affects Version/s 1.8.0 [ 10248 ]
        mikew Mike Wiederhold made changes -
        Component/s ns_server [ 10019 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Incomplete [ 4 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes