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

CollectionUUIDMismatch check occurs before shard version check

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

      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@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: