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

Stop calling ShardingMetadata::writeToMetadata() at mongod

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

      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:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Reporter:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: