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

ns_doctor race condition on startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta2
    • 1.6.0 beta4
    • ns_server
    • None
    • Operating System: All
      Platform: All

    Description

      Because ns_doctor makes a call to names on other nodes, this causes the nameserver to become aware of global names when it might not previously have been aware, potentially killing the doctor in the middle of its init/1 and bringing down the whole node. Here's what the log entry looks like:

      SUPERVISOR REPORT <5631.131.0> 2010-07-19 13:17:45
      ===============================================================================
      Reporting supervisor

      {local,ns_server_sup}

      Child process
      errorContext start_error
      reason killed
      pid undefined
      name ns_doctor
      start_function

      {ns_doctor,start_link,[]}

      restart_type permanent
      shutdown 10
      child_type worker

      Attachments

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

        Activity

          People

            sean@northscale.com Sean Lynch (Inactive)
            sean@northscale.com 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