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

Missing shard metadata refresh from the CS in coll_timestamp_test.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2021-02-08
    • 12

    Description

      The underlying issue is that the test is assuming that after the refineShardKey command the persistent cached metadata on the shards is updated. However, the test is not forcing a refresh so those changes are not visible.

      In order to fix that we could add an explicit refresh of the collection before checking that  the timestamp in config.cache.collections (shard) is the same as in config.collections (config server).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: