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

Write NotMaster error in upgrade_downgrade_cluster due to stale RS status in mongos

    • Fully Compatible
    • v4.4
    • Sharding 2020-04-20

      The upgrade_downgrade_cluster.js intermittently fails due to NonMaster write error. The root cause is that mongos does not retry the write with update ReplicaSetMonitor config.
      The suggested fix is to either wait for the isMaster status in mongos before performing the testCRUDAdnAgg
      or retry the write on error.

      Once the issue is fixed the test should be unblacklisted

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: