Stop calling ShardingMetadata::writeToMetadata() at mongod

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Query Execution
    • None
    • Fully Compatible
    • QE 2021-09-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ShardingMetadata is for mongos to report GLE but in SERVER-57390, we could not remove it all together because of sharded cluster upgrade/downgrade scenarios.

      As soon as FCV 5.1 is defined, we should stop calling writeToMetadata under FCV 5.1 or greater so that eventually we can remove ShardingMetadata after 6.0 is released.

      For the code and discussion, see this discussion thread.

      https://github.com/10gen/mongo/pull/113#discussion_r674244478

            Assignee:
            Yoon Soo Kim (Inactive)
            Reporter:
            Yoon Soo Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: