diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2020-11-10 12:40:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-10 12:59:03 +0000 |
commit | 4e4ebb8fef276c28011aebecf8a0ed12e69a9f9b (patch) | |
tree | 19db3f989babad664d32c5275858f1cf5f3aec30 /src/mongo/dbtests/framework_options.cpp | |
parent | 9e8989bfd5dd36bf835247130d1d1229806802bf (diff) | |
download | mongo-4e4ebb8fef276c28011aebecf8a0ed12e69a9f9b.tar.gz |
SERVER-52690 Run ReshardingCollectionCloner on a TaskExecutor.
Restructures the ReshardingCollectionCloner class to run on a separate
thread and returned a mongo::Future readied when the cloning procedure
has completed successfully or failed with an error.
Also enables the ReshardingCollectionCloner to insert documents in
batches of size > 1 in a single storage transaction. The
reshardingCollectionClonerBatchSizeInBytes server parameter can be used
to control the size of the insert batch.
Diffstat (limited to 'src/mongo/dbtests/framework_options.cpp')
0 files changed, 0 insertions, 0 deletions