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

Submitting orphan ranges during setFCV may fail if MetadataManager::_receivingChunks is not empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc2, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Steps To Reproduce:
      Hide

      The generated tests can be downloaded here. Running jstestfuzz-d133-ent_b819-qa_a6ce-1586874860847-0.js and jstestfuzz-d133-ent_b819-qa_a6ce-1586874860847-1.js (in that order) together in the same resmoke invocation should cause a hang.

      Show
      The generated tests can be downloaded here . Running jstestfuzz-d133-ent_b819-qa_a6ce-1586874860847-0.js and jstestfuzz-d133-ent_b819-qa_a6ce-1586874860847-1.js (in that order) together in the same resmoke invocation should cause a hang.
    • Sprint:
      Sharding 2020-05-04
    • Linked BF Score:
      50

      Description

      If MetadataManager::_receivingChunks is not empty (possibly due to a metadata refresh not occurring after a previous migration), the setFCV command can end up hitting a RangeOverlapConflict here. Thus the setFCV gets stuck which also causes subsequent migrations to pause indefinitely.

        Attachments

          Activity

            People

            Assignee:
            gregory.noma Gregory Noma
            Reporter:
            gregory.noma Gregory Noma
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: