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

The catalog cache should always refresh the routine information few times if it is inconsistent

    • Fully Compatible
    • ALL
    • Hide

      1. Add a sleep of two seconds here
      2. Execute the following unitest: build/install/bin/s_test --suite CatalogCacheRefreshTest --filter IncrementalLoadNoChunksFound
      3. The execution should hang because the test is expecting some incoming messages that are not going to be send.

      Show
      1. Add a sleep of two seconds here 2. Execute the following unitest: build/install/bin/s_test --suite CatalogCacheRefreshTest --filter IncrementalLoadNoChunksFound 3. The execution should hang because the test is expecting some incoming messages that are not going to be send.
    • Sharding 2020-10-19
    • 0

      We have some tests that rely that a constant number of collection routine info refreshes will take place under some conditions (no chunks on config.chunks) on the catalog cache. However, there is a fast path in the function that computes the collection routine info that may skip those refreshes ( here )

      This issue was introduced when working on this other ticket

            Assignee:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: