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

Waiting for non-tls web servers restart is broken in node addition (caused by ns_config_event -> chronicle_compat_events switch in menelaus_event)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.2
    • 7.0.0, 7.0.1, 7.0.2, 7.1.0
    • ns_server
    • Untriaged
    • 1
    • Unknown

    Description

      menelaus_event used to subscribe to ns_config_events, but it was changed to chronicle_compat_events. After that change menelaus_event:sync(ns_config_event) stopped working, which triggers the following race condition:
      in node addition scenario, it might happen that web server is still restarting, when the node-being-added receives completeJoin http req.

      UPDATE: node-init scenario is also affected (when ipfamily is being flipped during init)

      Attachments

        For Gerrit Dashboard: MB-48411
        # Subject Branch Project Status CR V

        Activity

          People

            sumedh.basarkod Sumedh Basarkod (Inactive)
            timofey.barmin Timofey Barmin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty