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

ns_config_rep:init calls ns_config:reannounce, which can time out.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7.0
    • 1.7 alpha 2
    • ns_server
    • Security Level: Public
    • None

    Description

      And since errors in init will bring down everything, this is bad.

      Options:

      1. Call it after init
      2. Make it asynchronous
      3. Wrap it in a try
      4. Increase the timeout beyond the default 5s gen_server:call timeout

      It's only called from ns_config_rep right now, so if we're not relying on the reannounce happening before other processes start, we can just make it asynchronous. 1 and 3 will potentially have the same problems if we're relying on the reannounce's actually completing before dependent processes start.

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            sean Sean Lynch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty