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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-03-23

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            alex.taskov Alexander Taskov
            Reporter:
            jack.mulrow Jack Mulrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: