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

Make config.shards entries have a topologyTime during FCV upgrade

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Yujin Kang Park
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: