[SERVER-21995] Queries against sharded collections fail after upgrade to CSRS due to caching of config server string in setShardVersion Created: 22/Dec/15  Updated: 25/Jan/17  Resolved: 07/Jan/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.2.3, 3.3.0

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: code-and-test, csrsupgrade
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-20422 setShardVersion configdb string misma... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Sharding E (01/08/16)
Participants:

 Description   

setShardVersion caches the config server connection string, and errors if it receives a connection string different than what it expects. This means that if a shard primary is sharding aware with an SCCC setup, then the cluster is upgraded to using CSRS, any future sharding operations that need to run setShardVersion will fail due to the cached config server string not matching.



 Comments   
Comment by Githook User [ 14/Jan/16 ]

Author:

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

Message: SERVER-20422 SERVER-21995 Allow overriding the cached config server string in SSV after upgrade from SCCC to CSRS

(cherry picked from commit eb140e730ffdcf99f26d9f215dd4391b8978acc9)
Branch: v3.2
https://github.com/mongodb/mongo/commit/ecfe266a47498ba18db62fe97f5d4298c16e23af

Comment by Githook User [ 07/Jan/16 ]

Author:

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

Message: SERVER-20422 SERVER-21995 Allow overriding the cached config server string in SSV after upgrade from SCCC to CSRS
Branch: master
https://github.com/mongodb/mongo/commit/eb140e730ffdcf99f26d9f215dd4391b8978acc9

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