diff options
Diffstat (limited to 'src/mongo/db/s/balancer/balancer_defragmentation_policy.h')
-rw-r--r-- | src/mongo/db/s/balancer/balancer_defragmentation_policy.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/s/balancer/balancer_defragmentation_policy.h b/src/mongo/db/s/balancer/balancer_defragmentation_policy.h index 3cada882af9..26fd3c6212b 100644 --- a/src/mongo/db/s/balancer/balancer_defragmentation_policy.h +++ b/src/mongo/db/s/balancer/balancer_defragmentation_policy.h @@ -59,6 +59,13 @@ public: const NamespaceString& nss) = 0; /** + * Requests to stop the emission of any new defragmentation action request. Does not alter the + * persisted state of the affected collections. startCollectionDefragmentation() can be invoked + * on a later stage to resume the defragmentation on each item. + */ + virtual void interruptAllDefragmentations() = 0; + + /** * Returns true if the specified collection is currently being defragmented. */ virtual bool isDefragmentingCollection(const UUID& uuid) = 0; |