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

Routing info should be reloaded before retry of creating session collection index on stale config error

    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-03-23

      When creating the sessions collection index, the config server will retry on stale config errors because as of 4.4 createIndexes uses the shard version protocol. Sending the command uses a routing info gotten outside the retry loop, so the same stale routing info will be used by each retry. Instead the routing info should be reloaded between retries.

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: