Only compare "major.minor" version in CheckReplDBHash

XMLWordPrintableJSON

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

      In SERVER-122161, we started comparing the full versions (e.g. "8.0.16" with "8.3.2-rc4321") for CheckReplDBHash.

       

      This is problematic because during the Server release process there is a window of time during which the version strings haven't been updated yet. In this case we will try to compare versions like "8.3.2-rc1234" and "8.3.2-rc4321" which will throw.

       

      Fix this by just comparing the "major.minor" part. This is sufficient for practical purposes, specially considering after 9.0 we can remove this code - see SERVER-101594.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: