[SERVER-31486] set slaveOk to false on connection to mongos in checkUUIDsConsistentAcrossCluster Created: 10/Oct/17  Updated: 27/Oct/23  Resolved: 21/Mar/18

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

Type: Improvement Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Participants:

 Description   

The mongos is used to read the UUIDs from the config server, and it's probably safer to read them only from the primary (alternatively, we could awaitReplication on the config servers).



 Comments   
Comment by Githook User [ 10/Oct/17 ]

Author:

{'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}

Message: Revert "SERVER-31486 set slaveOk to false on connection to mongos in checkUUIDsConsistentAcrossCluster"

This reverts commit ce1158916cfea26a6072d7867199ee150f90b6fa.

Reverting because it seems to have caused failures in rename.js, and would rather investigate and re-apply it again if not.
Branch: master
https://github.com/mongodb/mongo/commit/7296e8d7485faec05403446a6cef04e999a9b2fb

Comment by Githook User [ 10/Oct/17 ]

Author:

{'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}

Message: SERVER-31486 set slaveOk to false on connection to mongos in checkUUIDsConsistentAcrossCluster
Branch: master
https://github.com/mongodb/mongo/commit/ce1158916cfea26a6072d7867199ee150f90b6fa

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