Remove forced refreshes of the LogicalSessionCache from the test setup

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The first LogicalSessionCache refresh on a shard causes a background index build on the sessions collection. With periodic refreshes of LogicalSessionCache enabled, this can lead to errors when operations that cannot tolerate background index builds are executed. 

      In order to resolve this issue, SERVER-42866 and SERVER-44745 introduced forced refreshes of the LogicalSessionCache during setup of the test fixture. This ensures that all shards have refreshed their CatalogCache at least once before running the tests, so that the indexes are already built. However, this approach is not representative of user workflows, such that the implementation of a different solution should be explored.

       

            Assignee:
            Unassigned
            Reporter:
            Robert Sander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: