diff options
author | Pierlauro Sciarelli <pierlauro.sciarelli@mongodb.com> | 2023-03-29 13:05:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-29 14:50:21 +0000 |
commit | dcc570ec63e5cefd18811e6d98b9518907e86d50 (patch) | |
tree | cafaa85f80f2f9cf219289dd645e72ddaba4b48a /src/mongo/db/s/metadata_manager_test.cpp | |
parent | 58a69ba924e2ca557bf1c208fed59fc948107bd0 (diff) | |
download | mongo-dcc570ec63e5cefd18811e6d98b9518907e86d50.tar.gz |
SERVER-75302 Remove unused `allowAutoSplit` and `maxChunkSizeBytes` from chunk manager and shard collection type
Diffstat (limited to 'src/mongo/db/s/metadata_manager_test.cpp')
-rw-r--r-- | src/mongo/db/s/metadata_manager_test.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mongo/db/s/metadata_manager_test.cpp b/src/mongo/db/s/metadata_manager_test.cpp index 0f1c9ab2de9..e8c2d3154ac 100644 --- a/src/mongo/db/s/metadata_manager_test.cpp +++ b/src/mongo/db/s/metadata_manager_test.cpp @@ -95,8 +95,8 @@ protected: epoch, Timestamp(1, 1), boost::none /* timeseriesFields */, - boost::none, - boost::none /* chunkSizeBytes */, + boost::none /* reshardingFields */, + true, {ChunkType{uuid, range, ChunkVersion({epoch, Timestamp(1, 1)}, {1, 0}), kOtherShard}}); @@ -149,8 +149,11 @@ protected: chunkVersion, kOtherShard); - auto rt = cm->getRoutingTableHistory_ForTest().makeUpdated( - boost::none /* timeseriesFields */, boost::none, boost::none, true, splitChunks); + auto rt = + cm->getRoutingTableHistory_ForTest().makeUpdated(boost::none /* timeseriesFields */, + boost::none /* reshardingFields */, + true, + splitChunks); return CollectionMetadata(ChunkManager(cm->dbPrimary(), cm->dbVersion(), @@ -176,8 +179,7 @@ protected: auto rt = cm->getRoutingTableHistory_ForTest().makeUpdated( boost::none /* timeseriesFields */, - boost::none, - boost::none, + boost::none /* reshardingFields */, true, {ChunkType(metadata.getUUID(), ChunkRange(minKey, maxKey), chunkVersion, kOtherShard)}); |