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

Relax implementation of getDatabaseWithRefresh/getCollectionRoutingInfoWithRefresh of the CatalogCache

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding EMEA 2021-05-03, Sharding EMEA 2021-05-17
    • Linked BF Score:
      165

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sergi.mateo-bellido Sergi Mateo Bellido
              Reporter:
              sergi.mateo-bellido Sergi Mateo Bellido
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: