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

Fix pool change notification handling in gsi client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 4.6.2
    • ns_server
    • None
    • Untriaged
    • No

    Description

      The code to handle notifications from /poolsStreaming is racy. It does the following:

      1. Subscribe to /poolsStreaming.
      2. Once a notification is received, update Indexer list synchronously (it no longer listens to further notifications).
      3. Sleep for 1 second. Repeat Step1.

      During the sync processing in Step2 and sleep in Step3, any number of notifications can be missed. 

      Attachments

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

        Activity

          People

            Balakumaran.Gopal Balakumaran Gopal
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty