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

Do not force a Shard Registry lookup if topology time doesn't change

    • Catalog and Routing
    • ALL
    • v8.0
    • CAR Team 2024-07-08, Cluster Scalability 2024-6-10
    • 200
    • 3

      ShardRegistry does a periodic _lookup of cache every 30 seconds by default. We currently force a refresh pessimistically and in doing so block all threads that need shard registry data for targeting shards over the network. This can be bad for user threads which get blocked until the refresh completes, particularly for colocated/non-dedicated config servers when there are lagging secondaries and the reads go to them.

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: