summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/collection_metadata.h')
-rw-r--r--src/mongo/db/s/collection_metadata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/collection_metadata.h b/src/mongo/db/s/collection_metadata.h
index 36c9fa844ad..e9b202f5ecf 100644
--- a/src/mongo/db/s/collection_metadata.h
+++ b/src/mongo/db/s/collection_metadata.h
@@ -69,6 +69,8 @@ public:
return bool(_cm);
}
+ bool allowMigrations() const;
+
/**
* Returns the current shard version for the collection or UNSHARDED if it is not sharded.
*