[SERVER-24817] Wire clusterId into all places that need it Created: 27/Jun/16  Updated: 25/Jan/17  Resolved: 08/Jul/16

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

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:
Depends
depends on SERVER-23096 Config server should initialize the c... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 17 (07/15/16)
Participants:

 Description   

We need to add code that loads the clusterId and caches it, in both mongod and mongos, so it can be used in places it's needed (such as the balancer lock session ID and when filling in the shardIdentity document to write to shards during add shard, which is loaded from the shardRegistry



 Comments   
Comment by Githook User [ 13/Jul/16 ]

Author:

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

Message: SERVER-24817 Remove fundamentally racy unit test
Branch: master
https://github.com/mongodb/mongo/commit/9e7a9892b0c47c6bd9a7393ff4e378feac65db48

Comment by Githook User [ 13/Jul/16 ]

Author:

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

Message: SERVER-24817 Separate out logic for loading cluster ID and accessing it
Branch: master
https://github.com/mongodb/mongo/commit/8ea795c3be185102d80e75257189e0385ee476fe

Comment by Githook User [ 08/Jul/16 ]

Author:

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

Message: SERVER-24817 Hook up clusterID into places that need it
Branch: master
https://github.com/mongodb/mongo/commit/33c199e50fc96251c1477ca8e9f92168feddbc88

Comment by Githook User [ 07/Jul/16 ]

Author:

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

Message: SERVER-24817 Make ShardLocal wait for writes it performed when doing majority reads

This reverts commit ed19a4a874a7ed792a850c71e352eee2f2bb167c.
Branch: master
https://github.com/mongodb/mongo/commit/e7cc7ebf50c2883776cb4cc2423d687bcafa35b6

Comment by Githook User [ 06/Jul/16 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: Revert "SERVER-24817 Make ShardLocal wait for writes it performed when doing majority reads"

This reverts commit 88daeb804d093011144cb5e3a0295aa9eb89c42b.
Branch: master
https://github.com/mongodb/mongo/commit/ed19a4a874a7ed792a850c71e352eee2f2bb167c

Comment by Githook User [ 06/Jul/16 ]

Author:

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

Message: SERVER-24817 Make ShardLocal wait for writes it performed when doing majority reads

This gives config servers read-your-own-write semantics, even when the writes are performed as w:1
and the reads have readConcern:majority
Branch: master
https://github.com/mongodb/mongo/commit/88daeb804d093011144cb5e3a0295aa9eb89c42b

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