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/resharding | |
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/resharding')
7 files changed, 5 insertions, 10 deletions
diff --git a/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp b/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp index 60afefd3c16..28d61bc48d3 100644 --- a/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp +++ b/src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp @@ -162,8 +162,7 @@ protected: epoch, Timestamp(1, 1), boost::none /* timeseriesFields */, - boost::none, - boost::none /* chunkSizeBytes */, + boost::none /* reshardingFields */, false, chunks); diff --git a/src/mongo/db/s/resharding/resharding_data_replication_test.cpp b/src/mongo/db/s/resharding/resharding_data_replication_test.cpp index fd6ed5a9188..5eabc1a3787 100644 --- a/src/mongo/db/s/resharding/resharding_data_replication_test.cpp +++ b/src/mongo/db/s/resharding/resharding_data_replication_test.cpp @@ -84,7 +84,6 @@ public: Timestamp(1, 1), boost::none /* timeseriesFields */, boost::none /* reshardingFields */, - boost::none /* chunkSizeBytes */, true /* allowMigrations */, chunks); diff --git a/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp b/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp index 95abf9d2e86..eea75c8761a 100644 --- a/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp +++ b/src/mongo/db/s/resharding/resharding_donor_recipient_common_test.cpp @@ -128,8 +128,8 @@ protected: epoch, timestamp, boost::none /* timeseriesFields */, - boost::none, - boost::none /* chunkSizeBytes */, + boost::none /* reshardingFields */, + true, {std::move(chunk)})), boost::none); diff --git a/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp index 3edd51bdec9..1fc013463e1 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp +++ b/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp @@ -249,8 +249,8 @@ public: epoch, Timestamp(1, 1), boost::none /* timeseriesFields */, - boost::none, - boost::none /* chunkSizeBytes */, + boost::none /* reshardingFields */, + false, chunks); diff --git a/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp index 1bac61a4258..487e8717038 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp +++ b/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp @@ -331,7 +331,6 @@ private: Timestamp(1, 1), boost::none /* timeseriesFields */, boost::none /* reshardingFields */, - boost::none /* chunkSizeBytes */, true /* allowMigrations */, chunks); diff --git a/src/mongo/db/s/resharding/resharding_oplog_crud_application_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_crud_application_test.cpp index 0f5aa1674df..c4ddf755489 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_crud_application_test.cpp +++ b/src/mongo/db/s/resharding/resharding_oplog_crud_application_test.cpp @@ -275,7 +275,6 @@ private: Timestamp(1, 1), boost::none /* timeseriesFields */, boost::none /* reshardingFields */, - boost::none /* chunkSizeBytes */, true /* allowMigrations */, chunks); return ChunkManager(shardId, diff --git a/src/mongo/db/s/resharding/resharding_recipient_service_test.cpp b/src/mongo/db/s/resharding/resharding_recipient_service_test.cpp index a19679edc6d..2ee479d5b9b 100644 --- a/src/mongo/db/s/resharding/resharding_recipient_service_test.cpp +++ b/src/mongo/db/s/resharding/resharding_recipient_service_test.cpp @@ -95,7 +95,6 @@ public: Timestamp(1, 1), boost::none /* timeseriesFields */, boost::none /* reshardingFields */, - boost::none /* chunkSizeBytes */, true /* allowMigrations */, chunks); IndexCatalogTypeMap shardingIndexesCatalogMap; |