Add awaitReplication after writes in magic_restore_shard_to_repl.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-12-09
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test does some writes to the sharded cluster (one shard, two nodes), and then we attempt to read the documents on both shard primary and secondary. Due to SERVER-88510, it's possible that read on the secondary oplog will not return the last few writes, as they have yet to be applied, and the oplog read will only read up to the value of last applied.

              Assignee:
              Ali Mir
              Reporter:
              Ali Mir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: