ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1024
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-09-15
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The 'test open cursors in an all databases change stream with databases on different shards' case called assertNoChange after a moveChunk without waiting for the v2 shard targeter to process the resulting placement refresh. When assertNoChange's getMore polled before the moveChunk oplog entry was visible, the targeter never learned about the recipient shard, so assertOpenCursors hung for 10 minutes waiting for a cursor that was never established.

      Wrap the assertNoChange in awaitLogMessageCodes([kPlacementRefresh]) so the test blocks until the targeter refreshes its placement and opens a cursor on the recipient shard, matching the pattern already used earlier in the same test.

            Assignee:
            Serhii Lysenko
            Reporter:
            Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: