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

update service_map for all services at the start of failover

    XMLWordPrintable

Details

    Description

      When failing over services such as n1ql, the SDK will still route traffic to n1ql node that is about to be failed over. Even after we have decided to failover the node and failover processing is currently ongoing.
      The SDK derive the service nodes based on GCCCP payload which is determined by,
      1. the service_map which get updated at the start of failover for each service, in failover:failover_service(as a part of failover_service_nodes here)
      2. the cluster membership which is update at the end of failover in failover:deactivate_nodes as here

      We should investigate if the update to service map can be performed at the start of failover, so that the SDK are notified ahead of time to not route requests to the soon to be failed over node.

      Attachments

        Issue Links

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

          Activity

            People

              ashwin.govindarajulu Ashwin Govindarajulu
              Abhijeeth.Nuthan Abhijeeth Nuthan
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty