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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: