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

Add awaitReplication after writes in magic_restore_shard_to_repl.js

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

      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@mongodb.com Ali Mir
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: