CollectionUUIDMismatch check occurs before shard version check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • ALL
    • Execution EMEA Team 2023-07-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-77685 we discovered that the CollectionUUIDMismatch check is performed before checking the shard version. The order of those checks previously were inverted but SERVER-68337 mistakenly flipped them.

      The first ticket fixes the issue in AutoGetCollection but for Shard Role acquisitions we copied the faulty logic.

        1. shard_router_handle_staleconfig.js
          2 kB
          Jordi Olivares Provencio

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

              Created:
              Updated:
              Resolved: