Unify collection and database stale version handling on the router

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-04-27
    • 200
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      With SERVER-122427 the solution chosen was to return a fake dbVersion that we knew was correct.

      In order to prevent future errors due to some assumptions being done by future coders we should instead resolve dbVersion mismatches on the router with the same strategy used by the collections. That is, accept a potential convoying issue that is heavily mitigated by the use of the atomics within the comparable version classes.

            Assignee:
            Jordi Olivares Provencio
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: