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

Smarter causal consistent CatalogCache refresh

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None

      We currently achieve causal consistency by forcing another refresh here:

      https://github.com/mongodb/mongo/blob/r4.4.0-rc12/src/mongo/s/catalog_cache.cpp#L324

      However, it is possible to improve this if we know the clusterTime when the refresh was requested and the some indication of how "fresh" the cache is in terms of clusterTime.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: