[SERVER-23973] Ensure that config servers send the appropriate optime and config server connection string when making request to shards Created: 28/Apr/16  Updated: 25/Jan/17  Resolved: 23/May/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 15 (06/03/16)
Participants:
Linked BF Score: 0

 Description   

We currently rely on the ShardingEgressMetadataHook to send the config server optime whenever making a request to a shard. This loads the optime off the grid. For config servers making requests to shards we need to either fetch the optime from the replication coordinator directly or ensure that the optime in grid is maintained properly.



 Comments   
Comment by Githook User [ 24/May/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-24264 SERVER-23973 Replace calls to verify() in ConnectionString with uassert
Branch: master
https://github.com/mongodb/mongo/commit/ec5ce3087e17bb78cccc8a3bc50fdef7bc0997f3

Comment by Githook User [ 23/May/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-23973 Make config servers send their ConnectionString correctly when sending SSV to shards
Branch: master
https://github.com/mongodb/mongo/commit/0d5c7ac6ae11379dc14edc35c3395f54e5cca78e

Comment by Githook User [ 19/May/16 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-23973 Ensure config servers send the correct config server optime when talking to shards
Branch: master
https://github.com/mongodb/mongo/commit/f6ee1ecb1d25a3a89144676c9d73007c877157b8

Comment by Spencer Brody (Inactive) [ 28/Apr/16 ]

As part of this, re-evaluate whether Shard.cpp should be passing in the Repl metadata to ShardLocal::_runCommand. It might be that for local operations run on the config server we want to fetch and maintain the optime in a different way.

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