Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9606

Document query service graceful shutdown on rebalance remove

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • Neo
    • Neo
    • query
    • None
    • DOC-2022-S6
    • 1

    Description

      When a node is removed and rebalanced, the query service will allow existing queries and transactions to complete before shutting down.
      This may result in an elongated rebalance operation.  The query service diagnostic log on the node(s) being removed will contain messages indicating how many transactions and queries are still running.  Any new connection attempts to nodes that are shutting down will receive error 1180 and may receive error 1181 in the brief period between the completion of the last statement or transaction and the service exiting.  Such rejected requests will have HTTP status code 503 (service unavailable) set too.

      This does not affect failover.

      Attachments

        Issue Links

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

          Activity

            People

              ray.offiah Ray Offiah
              Donald.haggart Donald Haggart
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty