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

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Sharding
    • Operating System:
      ALL

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: