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

ns_server should short circuit return with success in the case of no-op certificate reload

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0
    • ns_server
    • None
    • 0

    Description

      The reloadCertificate REST API unconditionally restarts the Erlang TLS distribution and the HTTPs server even if the reload is a "no-op" i.e. the inbox is empty.) These restarts can disconnect the node from other nodes and may cause things like rebalance to halt and replication connections to need to be re-established. We've seen this happen in certain cases in the field.

      It would be a nice improvement to check to see if the cert reload is a no-op and short circuit return with success.

      Attachments

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

        Activity

          People

            steve.watanabe Steve Watanabe
            dfinlay Dave Finlay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty