[SERVER-72088] Make catalog shard use ShardRemote for config server in ShardRegistry Created: 13/Dec/22  Updated: 29/Oct/23  Resolved: 03/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

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

Issue Links:
Depends
depends on SERVER-72085 Allow hooking behavior into when repl... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

All sharding components expect getting the config shard from the ShardRegistry returns a ShardRemote (e.g. expects to be able to target secondaries, not just the local node), but the config server currently always returns a ShardLocal as the config shard. To allow a config server to serve a shard role, we should have it return a ShardRemote instead.



 Comments   
Comment by Githook User [ 21/Dec/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-72088 Use ShardRemote for config shard in ShardRegistry
Branch: master
https://github.com/mongodb/mongo/commit/d1500aed6baa47ca511692c5ca326321c80cd50d

Comment by Githook User [ 20/Dec/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: Revert "SERVER-72088 Use ShardRemote for config shard in ShardRegistry"

This reverts commit 07118e1f61dddb68170b7aa095166028b284d687.
Branch: master
https://github.com/mongodb/mongo/commit/76bf2602159dece2a833073924638aa3b0796205

Comment by Githook User [ 20/Dec/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-72088 Use ShardRemote for config shard in ShardRegistry
Branch: master
https://github.com/mongodb/mongo/commit/07118e1f61dddb68170b7aa095166028b284d687

Generated at Thu Feb 08 06:20:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.