[SERVER-58741] Stop calling ShardingMetadata::writeToMetadata() at mongod Created: 21/Jul/21  Updated: 29/Oct/23  Resolved: 30/Aug/21

Status: Closed
Project: Core Server
Component/s: Query Execution
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Yoon Soo Kim Assignee: Yoon Soo Kim
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-58743 Remove rpc::ShardingMetadata Closed
Related
is related to SERVER-57390 Remove the implementation of the getL... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2021-09-06
Participants:

 Description   

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


Generated at Thu Feb 08 05:45:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.