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

Migrations stall for `orphanCleanupDelaySecs` in mongod v4.4 with fcv mode v4.2

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • ALL
    • Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28
    • 3

      [reproducible attached]

      The recipient of a migration in v4.4 with FCV 4.2 always stalls for orphanCleanupDelaySec (excluding the very first migration, because the collection is not known).

      The flow is the following: in case of FCV v4.2, the migration destination manager calls into beginReceive that unconditionally schedules a range deletion for the chunk being received waiting for the configured delay for secondary queries.

      This results in all migrations stalling at least for orphanCleanupDelaySecs even when there is no orphaned document to remove.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: