Wait for mongos to see primary after restart in retryable_writes_txn_number_validation tests

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
    • Cluster Scalability 2024-11-11
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Both retryable_writes_txn_number_validation_reuse.js and retryable_writes_txn_number_validation_order.js force restarts of certain nodes, and then after attempt to run requests through mongos before ensuring mongos has seen the new primary. This can lead to the request failing with FailedToSatisfyReadPreference, because the mongos may not find about the new primary before the targeter times out.

            Assignee:
            Janna Golden
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: