diff options
author | Sergi Mateo Bellido <sergi.mateo-bellido@mongodb.com> | 2021-06-01 06:48:00 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-14 17:18:34 +0000 |
commit | e7f91b95941b2e636ba4715c2cea5baf5bc3e2d2 (patch) | |
tree | 6d823474977fe3bb42b0b451b8b922fef5946b10 /src/mongo/db/s/config/sharding_catalog_manager.h | |
parent | 389ecf35aa15a97a3bf855518c19a4ad05075acb (diff) | |
download | mongo-e7f91b95941b2e636ba4715c2cea5baf5bc3e2d2.tar.gz |
SERVER-57313 Pass the collection epoch and timestamp when building a ChunkType from a config.chunks BSON
- Pass the epoch and the timestamp to the functions that build
ChunkTypes from config.chunks BSON
- Fixing our tests
(cherry picked from commit 7b30ab1943ecbb48e8bdbc50bf928eab09f619b5)
Diffstat (limited to 'src/mongo/db/s/config/sharding_catalog_manager.h')
-rw-r--r-- | src/mongo/db/s/config/sharding_catalog_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager.h b/src/mongo/db/s/config/sharding_catalog_manager.h index b28c529b929..d47f1facb63 100644 --- a/src/mongo/db/s/config/sharding_catalog_manager.h +++ b/src/mongo/db/s/config/sharding_catalog_manager.h @@ -566,6 +566,8 @@ private: */ StatusWith<ChunkType> _findChunkOnConfig(OperationContext* opCtx, const NamespaceStringOrUUID& nsOrUUID, + const OID& epoch, + const boost::optional<Timestamp>& timestamp, const BSONObj& key); /** |