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

change max_time_ms_repl_targeting.js to do its initial insert via w:2

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0-rc2, 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v4.2
    • Service Arch 2019-07-01
    • 10

      max_time_ms_repl_targeting.js performs an insert, then attempts to read that value back with a maxtimems set against a secondary without satisfiable tags.

      Part of the sanity check for that test includes running a query against the lone secondary (which absolutely should be able to pick up the record), but this races with replicating the write. BF-11945 illustrates the number of times we lose that race.

      Changing the initial write to a w:2 write would ensure it's on the secondary when we got to look for it there.

            Assignee:
            rahul.sundararaman@mongodb.com Rahul Sundararaman (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: