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

Rebalance status in chronicle is not reset by janitor if there is no bucket in the cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Cypher
    • Morpheus
    • ns_server
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      The janitor will only consider resetting the rebalance status when janitoring buckets (here), but this means that the rebalance status won't get reset if there are no buckets.

      It's not clear what the original reason for only doing this when janitoring buckets was.

      According to Ben Huddleston:

      So I don't think it needs anything bucket related, but the position at which we do it is quite interesting. At this point we have connectivity to all other nodes, and this is in some leader activity, which is bit of a safety check against some rogue orchestrator flipping it when it should not

      It could be separated, I believe, but it needs some thought
       

      We should ensure that the rebalance status can be reset without any buckets, while taking care that we don't reset when we shouldn't.

      Seen in CBSE-17605

      Attachments

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

        Activity

          People

            artem Artem Stemkovski
            peter.searby Peter Searby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty