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

Avoid forced database refresh in ReshardingDonorRecipient

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability

      In ReshardingDonorRecipient we force a refresh of the database routing cache in order to fetch latest databse info.

      The downside of forcing a cache refresh is that all the other subsequent database cache lookup will need to serialize behind the forced refresh.
      To avoid this, we could use the CatalogClient to fetch the database information directly from the cluster catalog, bypassing the CatalogCache.

      I attempted to do this as part of SERVER-95750, but unfortunately switching from CatalogCache to CatalogClient requires some adjustments to ReshardingDonorRecipientCommonTest unit tests.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: