summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_donor_service.h
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2020-12-07 20:30:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-16 19:48:04 +0000
commit85b63642b03e4b09a89317692d671945c304b459 (patch)
tree4bdd977c055c35e70c92350abe4f7e379ae3e793 /src/mongo/db/s/resharding/resharding_donor_service.h
parent36e5f97f0bc9f51d2ba69d19b76ce6ffda06f864 (diff)
downloadmongo-85b63642b03e4b09a89317692d671945c304b459.tar.gz
SERVER-51130 Implement onReshardingFieldsChanges for donor and recipient state machines
SERVER-53173 Create jstest to verify that resharding participants have removed all disk metadata
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_donor_service.h')
-rw-r--r--src/mongo/db/s/resharding/resharding_donor_service.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding/resharding_donor_service.h b/src/mongo/db/s/resharding/resharding_donor_service.h
index 32775d91f20..f131f8d1d1c 100644
--- a/src/mongo/db/s/resharding/resharding_donor_service.h
+++ b/src/mongo/db/s/resharding/resharding_donor_service.h
@@ -95,8 +95,7 @@ public:
return boost::none;
}
- void onReshardingFieldsChanges(
- boost::optional<TypeCollectionReshardingFields> reshardingFields);
+ void onReshardingFieldsChanges(const TypeCollectionReshardingFields& reshardingFields);
private:
// The following functions correspond to the actions to take at a particular donor state.