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

Remove forced refreshes of the LogicalSessionCache from the test setup

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

      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 Unassigned
            Reporter:
            robert.sander@mongodb.com Robert Sander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: