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

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      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

              Assignee:
              cheahuychou.mao Cheahuychou Mao
              Reporter:
              misha.tyulenev Misha Tyulenev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: