翻译或纠错本页面
- Reference >
- Database Commands >
- Replication Commands >
- resync
resync¶
- resync¶
The resync command forces an out-of-date slave mongod instance to re-synchronize itself. Note that this command is relevant to master-slave replication only. It does not apply to replica sets.
警告
This command obtains a global write lock and will block other operations until it has completed.