Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49734

The call to Balancer::initiateBalancer() on step up should be asynchronous

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-07-27, Sharding 2020-08-10, Sharding 2020-08-24
    • Linked BF Score:
      14

      Description

      The call to Balancer::initiateBalancer() is made fromĀ 
      ReplicationCoordinatorExternalStateImpl::onTransitionToPrimary() however, some paths require majority write concern which cannot be satisfied until the stepup has completed. initiateBalancer should be called asynchronously to prevent deadlock.

        Attachments

          Activity

            People

            Assignee:
            alex.taskov Alexander Taskov
            Reporter:
            alex.taskov Alexander Taskov
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: