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

[FP MB-42800] - Eventing: Rebalance button disabled for failed rebalance

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 7.0.0
    • Component/s: eventing
    • Labels:
      None
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      Build: 6.6.0 build 7917

      Test : 

      • Create 4 node cluster 2 KV , 1 eventing , 1 N1QL:index
      • Create 10 buckets 
      • Deploy 2 handler 
      • Failover 1 kv node
      • Add back failover node and full recovery
      • When rebalance for the last bucket is completed around ~90%, deploy 1 more handler
      • Rebalance will fail with 

      Rebalance exited with reason {service_rebalance_failed,eventing,
      {worker_died,
      {'EXIT',<0.30052.79>,
      {{badmatch,
      {error,
      {bad_nodes,eventing,prepare_rebalance,
      [{'ns_1@172.23.106.73',
      {error,
      {unknown_error,
      <<"Some apps are deploying or resuming on some or all Eventing nodes">>}}}]}}},
      [{service_rebalancer,rebalance_worker,1,
      [{file,"src/service_rebalancer.erl"},
      {line,164}]},
      {proc_lib,init_p,3,
      [{file,"proc_lib.erl"},{line,232}]}]}}}}.
      Rebalance Operation Id = 50d80d59791945ddf21089e29de64db0 

      Observed: Rebalance is disabled even though rebalance is failed. Hence customer is not able to retry failed rebalance 

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-3843 contains eventing commit 0dd8207 with commit message:
            MB-42830 : Report correct isBalanced state on rebalance failure

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3843 contains eventing commit 0dd8207 with commit message: MB-42830 : Report correct isBalanced state on rebalance failure
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-3856 contains eventing commit 2f1d9cc with commit message:
            MB-42830 : read isBalanced holding the mu lock

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3856 contains eventing commit 2f1d9cc with commit message: MB-42830 : read isBalanced holding the mu lock
            Hide
            sujay.gad Sujay Gad added a comment -

            Verified using 7.0.0 - 4617
            Rebalance button is not disabled.

            Show
            sujay.gad Sujay Gad added a comment - Verified using 7.0.0 - 4617 Rebalance button is not disabled.

              People

              Assignee:
              jeelan.poola Jeelan Poola
              Reporter:
              jeelan.poola Jeelan Poola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty