Kill dangling cursors on random_moveChunk_constraint_validation.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-07-06
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test random_moveChunk_constraint_validation.js leaves an dangling cursor on init() because it calls findFirstBatch with a lower batchSize than the actual number of documents.

      The same workload may call moveChunk with waitForDelete enabled. In that case, orphan cleanup can be blocked by the still-open cursor, causing chunk migrations to hang.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: