skip_read_perference_retargeting.js should perform writes with w: 2 instead of w: majority

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This test expects the documents inserted with w: majority to be visible the secondary in the majority after the insert command returns. This is no longer guaranteed since SPM-3489 changed w: majority to only wait for the opTime of the write to be persisted. To wait for the opTime of the write to be applied, w: <n> must be used.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: