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

Backport deadline waiting for overlapping range deletion to finish to pre-v5.1 versions

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v4.4
    • Sharding EMEA 2022-06-13

    Description

      SERVER-60142 introduced a uassert in case the deadline on the migration destination manager is hit while waiting for a range to be cleared up. This specific change prevents the balancer from getting blocked and must be backported to v5.0 and v4.4 (the original backports didn't include this part of the fix).

      When the balancer gets blocked waiting for a range deletion, a thread on the recipient shard shows the following stack trace:

       10.000   │  ├▽ bool mongo::Interruptible::waitForConditionOrInterruptUntil<...>
        5.000   │  │├▽ mongo::CollectionShardingRuntime::waitForClean
        5.000   │  ││ ▽ mongo::MigrationDestinationManager::_migrateDriver
        5.000   │  ││  ▽ mongo::MigrationDestinationManager::_migrateThread
        5.000   │  ││   ▽ ???
        5.000   │  ││    ▽ ???
        5.000   │  ││     ▽ ???
        5.000   │  ││      ▽ clone
      

      Attachments

        Issue Links

          Activity

            People

              silvia.surroca@mongodb.com Silvia Surroca
              pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: