moveChunks run as part of sharded_backup_restore.js setup should be robust to transient errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Server Integration
    • ALL
    • SESI - 2026-01-13
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      sharded_backup_restore.js runs moveChunk (here and here) as part of its setup to create the desired data layout for the tests. moveChunk itself is not particularly robust to transient errors, and also does not properly return information related to retryability to callers (see SERVER-94595). As seen in BF-40497, a particularly slow variant may cause these moveChunks to spuriously fail.

      This is similar to the issue seen in SERVER-114170, and can likely be addressed in a similar way. It should also be considered if an existing sharded collection creation helper (e.g. CreateShardedCollectionUtil.shardCollectionWithChunks or shardCollectionMoveChunks) can be used instead.

            Assignee:
            Unassigned
            Reporter:
            Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: