OPTIONS

replSetSyncFrom

On this page

Description

replSetSyncFrom

New in version 2.2.

Explicitly configures which host the current mongod pulls oplog entries from. This operation is useful for testing different patterns and in situations where a set member is not replicating from the desired host.

The replSetSyncFrom command has the following form:

{ replSetSyncFrom: "hostname<:port>" }

The replSetSyncFrom command has the following field:

Field Type Description
replSetSyncFrom string The name and port number of the replica set member that this member should replicate from. Use the [hostname]:[port] form.

For more information the use of replSetSyncFrom, see Configure a Secondary’s Sync Target.

←   replSetStepDown resync  →

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.