复制 # curl localhost:27182/api/v1/progress -XGET | jq '.'{"progress":{"state":"RUNNING","canCommit":true,"canWrite":false,"info":"change event application","lagTimeSeconds":10,"collectionCopy":{"estimatedTotalBytes":243,"estimatedCopiedBytes":243},"directionMapping":{"Source":"cluster...
curl mongosync01Host:27181/api/v1/progress -XGET 1. 暂停实例MongoSync 复制 curl mongosync01Host:27181/api/v1/pause -XPOST --data '{}' 1. 恢复同步 复制 curl mongosync01Host:27181/api/v1/resume -XPOST --data '{}' 1. mongosync01Host为创建mongosync的实例地址 7、参数详解 复制 --cluster0...
3.检查 Mongosync 的状态 # curl localhost:27182/api/v1/progress -XGET | jq '.'{"progress":{"state":"RUNNING","canCommit":true,"canWrite":false,"info":"change event application","lagTimeSeconds":10,"collectionCopy":{"estimatedTotalBytes":243,"estimatedCopiedBytes":243},"directionMapping"...
curl mongosync02Host:27602/api/v1/progress -XGET 此命令检查在mongosync02Host上运行并使用port 27602进行同步的mongosync实例的进度。 要检查其他分片的进度,请更新主机和端口号,然后对每个mongosync实例重复执行 API 调用。 暂停mongosync实例 Pause命令将暂时停止单个分片上的同步进程。 它不会暂停可能正在运行的任何...
After the live upgrade,mongosynccontinues operations that were in progress before the upgrade. To live upgrademongosync, perform these steps: 1 (Optional) Pause themongosyncprocesses To pausemongosync, runpauseon each runningmongosyncprocess. You can resume themongosyncprocesses later from the paused sta...
To view the current state ofmongosync, use the/progress. endpoint. The/progressendpoint returns the state in thestatefield. Note Starting inmongosync1.7.3,mongosynccan take at least two minutes to respond when you resume or restart a sync operation. During this time, any calls to theprogressen...
curl mongosync02Host:27602/api/v1/progress -XGET 이 명령은mongosync02Host에서 실행 중인mongosync인스턴스의 진행 상황을 확인하고 동기화에port 27602를 사용합니다. 다른 샤드의 진행 상황을 확인하려면 호스...