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

Smarter causal consistent CatalogCache refresh

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Sharding
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: