sh.stopAutoMerger()
On this page本页内容
Definition定义
sh.stopAutoMerger()
New in version 7.0. 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.当该方法运行时,它将停止AutoMerger。AutoMerger发布的任何正在进行的操作都已完成。
Example实例
The following example disables the AutoMerger. 以下示例禁用“自动合并”。Run the example from 运行mongos:mongos中的示例:
sh.stopAutoMerger()
Learn More了解更多信息
- The AutoMerger
sh.startAutoMerger()method方法sh.enableAutoMerger()method方法sh.disableAutoMerger()method方法
configureCollectionBalancingcommand命令mergeAllChunksOnShardcommand命令autoMergerIntervalSecsparameter参数autoMergerThrottlingMSparameter参数