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

setFCV 4.4 can take at least orphanCleanupDelaySecs if it starts while there is an in-progress migration for config.system.sessions

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.10
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Sharding 2021-09-20, Sharding 2021-10-04

      SERVER-45047 made the setFCV command block chunk migrations by locking the ActiveMigrationsRegistry. This forces the setFCV command to wait for any ongoing migrations to complete. SERVER-45624 made the balancer automatically split the config.system.sessions collection so when the setFCV command is run after the balancer is re-enabled, there is the chance that the setFCV command is blocked behind a migration for the sessions collection. Since the range deleter waits for orphanCleanupDelaySecs before checking if the collection exists and doing the deletion, the range deleter is forced to wait orphanCleanupDelaySecs (defaults to 15 minutes) before failing with RangeDeletionAbandonedBecauseCollectionWithUUIDDoesNotExist which is then ignored. To solve this, we should check if the collection exists before submitting a range deletion task here when we call _notePending().

            Assignee:
            jonathan.lee@mongodb.com Jonathan Lee
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: