Relax implementation of getDatabaseWithRefresh/getCollectionRoutingInfoWithRefresh of the CatalogCache

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding EMEA 2021-05-03, Sharding EMEA 2021-05-17
    • 165
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The goal of this ticket is to relax the implementation of the getDatabaseWithRefresh and the getCollectionRoutingInfoWithRefresh methods: both of them invalidate an entry in their caches.

      Instead of doing that, we could just advanceTimeInStore using a ComparableDatabaseVersion/ComparableChunkVersion with the forcedRefresh flag.

      Some tests, for instance this one, will have to be fixed.

              Assignee:
              Sergi Mateo Bellido
              Reporter:
              Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: