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

Stepping down the primary when running 'dropDatabase' can hit an invariant due to yielded locks

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-03-09
    • 46

      There's a small window of time here, that if the node was to step down, it would kill the dropDatabase operation and invariant when trying to set the drop-pending flag back to false here.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: