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

Janitor should be run when service rebalance is in progress

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • backlog
    • None
    • ns_server
    • None

    Description

      Explore the option of separating out the KV rebalance and service rebalance steps. This would allow us to run the janitor while the service rebalance is going on and help solve the extended unavailability problem that arises currently when memcached process crashes during an ongoing rebalance of a topology aware service.

      The unavailability problem stems from the fact that if memcahed restarts while the service rebalance is progressing then the janitor will not be able to run to bring the buckets back online. If the service that is undergoing rebalance requires access to the buckets then this would lead to a deadlock. Currently, some services (eventing fox ex) aborts their rebalance operation when such a situation occurs.

      But there is value in exploring the possibility of allowing the janitor to run during service rebalance as this would fix the unavailability problem and allow the ongoing rebalance to succeed.

      Attachments

        Issue Links

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

          Activity

            People

              Abhijeeth.Nuthan Abhijeeth Nuthan
              ajit.yagaty Ajit Yagaty [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty