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

Remove `waitForCollectionFlush` and `waitForDatabaseFlush` methods from FilteringMetadataCache

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2024-11-11, CAR Team 2024-11-25

      The current public API of FilteringMetadataCache only exposes the same free functions found in the shard_filtering_metadata_refresh.cpp file, along with some additional necessary functions that access the ShardServerCatalogCacheLoader. We can consider what we want to expose in the public API and possibly refine some methods.

      The goal of this ticket is to remove the `waitFor.*Flush` methods from the FilteringMetadataCache. The implementer should decide if it has to be a parameter of the refresh or if the wait should always be implicit.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: