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

Smarter causal consistent CatalogCache refresh

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tommaso.tocci Tommaso Tocci
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: