[SERVER-75490] Use kSnapshotReadConcern when getting chunks from config server at checkMetadataConsistency Created: 30/Mar/23  Updated: 29/Oct/23  Resolved: 28/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.0.0-rc0, 7.1.0-rc0
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Pol Pinol Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Gantt Dependency
has to be done after SERVER-74083 Implement chunk checks in checkConsis... Closed
Problem/Incident
causes SERVER-79357 CheckMetadataConsistency is not readi... Closed
Related
is related to SERVER-76107 Allow to use snapshotReadConcern in q... Backlog
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-05-01
Participants:
Linked BF Score: 135

 Description   

The goal of this ticket is to investigate and try to use kSnapshotReadConcern instead of kMajorityReadConcern in _getCollectionChunks.

For the moment, ShardingCatalogClient::getChunks is using queryOnce to get the chunks. Here, there is an invariant invalidating the usage of kSnapshotReadConcern.



 Comments   
Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-75490 Use kSnapshotReadConcern when getting chunks from config server at checkMetadataConsistency

(cherry picked from commit 728c1759deccef2236be31c743c8325048d9ba8d)
Branch: v7.0
https://github.com/mongodb/mongo/commit/d681593b83164d6efce435489da3bc8671377b6f

Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-75490 Use kSnapshotReadConcern when getting chunks from config server at checkMetadataConsistency
Branch: master
https://github.com/mongodb/mongo/commit/728c1759deccef2236be31c743c8325048d9ba8d

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