Make config.shards entries have a topologyTime during FCV upgrade

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-31, CAR Team 2025-04-14
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It can be that config.shards has entries without a topologyTime field when the cluster originates from before 5.0.

      The ShardRegistry assumes that the topologyTime is Timestamp(0, 1) when none of the entries have the field.

      This makes reasoning slightly harder, and would be nice if we could assume there's always a topologyTime in every document in config.shards. And would also be helpful to check consistency of config.shards.

              Assignee:
              Yujin Kang Park
              Reporter:
              Yujin Kang Park
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: