summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_metadata.h
diff options
context:
space:
mode:
authorHaley Connelly <haley.connelly@mongodb.com>2021-01-19 23:22:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-20 22:11:23 +0000
commit3681d3ae3a6eec2ce9aa1dd9a6f5b3ec68bcd80b (patch)
tree37df76c33cff437b1e4b825df8731217466296ff /src/mongo/db/s/collection_metadata.h
parent90e4270e9b22071c7d0367195c56bf2c5b50e56f (diff)
downloadmongo-3681d3ae3a6eec2ce9aa1dd9a6f5b3ec68bcd80b.tar.gz
SERVER-53687 Rename resharding CoordinatorStateEnum kCommitted to kDecisionPersisted
SERVER-53687 Remove resharding CoordinatorStateEnum::kRenaming
Diffstat (limited to 'src/mongo/db/s/collection_metadata.h')
-rw-r--r--src/mongo/db/s/collection_metadata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/collection_metadata.h b/src/mongo/db/s/collection_metadata.h
index be64c4793ca..5836b4bfd60 100644
--- a/src/mongo/db/s/collection_metadata.h
+++ b/src/mongo/db/s/collection_metadata.h
@@ -80,7 +80,7 @@ public:
/**
* The caller should disallow writes when
* 1. The coordinator is in the mirroring state, OR
- * 2. The coordinator is in the committed or renaming state, but the UUID is still the
+ * 2. The coordinator is in the decision persisted state, but the UUID is still the
* original UUID.
*/
bool disallowWritesForResharding(const UUID& currentCollectionUUID) const;