Docs HomeMongoDB Manual

sh.stopAutoMerger()

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了解更多信息