翻译或纠错本页面
- Reference >
- mongo Shell Methods >
- Replication Methods >
- rs.syncFrom()
rs.syncFrom()¶
- rs.syncFrom()¶
2.2 新版功能.
Provides a wrapper around the replSetSyncFrom, which allows administrators to configure the member of a replica set that the current member will pull data from. Specify the name of the member you want to replicate from in the form of [hostname]:[port].
See replSetSyncFrom for more details.