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

Unexpected non-retryable error when shutting down a mongos server

    • Fully Compatible
    • ALL
    • v5.1, v5.0, v4.4
    • Sharding 2020-10-19, Sharding 2020-11-02, Sharding 2020-11-16, Sharding 2020-11-30, Sharding 2020-12-14, Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25, Sharding 2021-02-22, Sharding 2021-03-08, Sharding 2021-03-22, Sharding 2021-04-05, Sharding 2021-04-19, Sharding 2021-05-03, Sharding 2021-05-17, Sharding 2021-10-18, Sharding 2021-11-01

      Setup: v4.4.0, sharded cluster: 1 shard, 2 mongos
      Scenario: 100 thread concurrently executing findOne operations, with random sleeps between 1 and 1000 milliseconds

      Action: Every once in a while kill a mongos server

      Expected result: mongos server that is being killed only responds with retryable errors
      Actual result: mongos server returns a non-retryable error:

         {
            “ok”: 0.0, 
            “errmsg”: “Encountered non-retryable error during query :: caused by :: ReplicaSetMonitor for set shard01 is removed”, 
            “code”: 199, 
            “codeName”: “ReplicaSetMonitorRemoved”, ... 
         }
      

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            2 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: