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

Wait for mongos to see primary after restart in retryable_writes_txn_number_validation tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: