sh.stopAutoMerger()
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
Definition
New in version 7.0.
Disables the AutoMerger.
Syntax
sh.stopAutoMerger()
Behavior
When the method runs, it stops the AutoMerger. Any in progress operations issued by the AutoMerger are completed.
Example
The following example disables the AutoMerger. Run the example
from mongos
:
sh.stopAutoMerger()
Learn More
sh.startAutoMerger()
methodsh.enableAutoMerger()
methodsh.disableAutoMerger()
method
configureCollectionBalancing
commandmergeAllChunksOnShard
commandautoMergerIntervalSecs
parameterautoMergerThrottlingMS
parameter