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

Wait for mongos to discover new primary before executing writes after stepdown in retryable_writes_retry_conflict.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Cluster Scalability 2023-11-13
    • 30

      In retryable_writes_retry_conflict.js, we force a shard stepdown in some of the test cases, and quickly after attempt to execute a write on mongos. Retryable writes are not enabled, so if mongos hasn't yet received the new topology info, this write can fail with NotWritablePrimary e.g. We should ensure mongos knows the new primary before [attempting the writes|retryable_writes_retry_conflict.js].

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: