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

Always synchronize mongos times when running sharded FSM tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • Fully Compatible
    • v8.0
    • CAR Team 2024-04-29

      While working on SERVER-88099 we found out that the FSM worker thread will only synchronize mongos cluster times if it happens to use transactions.

      However, ideally we should always do so on sharded clusters generally. Reading at a snapshot readConcern could make a stale mongos choose a cluster time from before the setup completed, thus leading to an incomplete view of the data that tests assume is present.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: