[SERVER-33767] Add function to verify targeted shards are using MVRT Created: 08/Mar/18  Updated: 29/Oct/23  Resolved: 05/Apr/18

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

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-04-09
Participants:

 Description   

Implement

 /**
 * Verifies that the shardIds are the same as they were atClusteTime using versioned table.
 */
bool verifyTargetedShardsAtClusterTime(OperationContext* opCtx,
                                       std::set<ShardId> shardIds,
                                       LogicalTime atClusterTime);

It also need to take CatalogCache as an argument - depends on the MVRT API

Must include unit tests.



 Comments   
Comment by Githook User [ 05/Apr/18 ]

Author:

{'email': 'misha@mongodb.com', 'name': 'Misha Tyulenev', 'username': 'mikety'}

Message: SERVER-33767 verify targeted shard for global snapshot reads with multi-version routing table
Branch: master
https://github.com/mongodb/mongo/commit/c948a158d2ba4362906cc2b3cae9fa07b5e57ff4

Comment by Githook User [ 04/Apr/18 ]

Author:

{'email': 'william.schultz@mongodb.com', 'name': 'William Schultz', 'username': 'will62794'}

Message: Revert "SERVER-33767 verify targeted shard for global snapshot reads with multi-version routing table"

This reverts commit 54d9b66240a5538364be41494ee8cb7a88ef4478.
Branch: master
https://github.com/mongodb/mongo/commit/ff56c556ebb8dab6a9dccd2a7d416ed41c3bf1fc

Comment by Githook User [ 04/Apr/18 ]

Author:

{'email': 'misha@mongodb.com', 'name': 'Misha Tyulenev', 'username': 'mikety'}

Message: SERVER-33767 verify targeted shard for global snapshot reads with multi-version routing table
Branch: master
https://github.com/mongodb/mongo/commit/54d9b66240a5538364be41494ee8cb7a88ef4478

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