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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: