Documentation ¶
Overview ¶
Package mongooplog polls operations from the replication oplog of one server, and applies them to another.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Usage = `` /* 204-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type MongoOplog ¶
type MongoOplog struct { // standard tool options ToolOptions *options.ToolOptions // mongooplog-specific options SourceOptions *SourceOptions // session provider for the source server SessionProviderFrom *db.SessionProvider // session provider for the destination server SessionProviderTo *db.SessionProvider }
MongoOplog is a container for the user-specified options for running mongooplog.
type SourceOptions ¶
type SourceOptions struct { From string `long:"from" value-name:"<hostname>" description:"specify the host for mongooplog to retrive operations from"` OplogNS string `` /* 186-byte string literal not displayed */ Seconds bson.MongoTimestamp `` /* 167-byte string literal not displayed */ }
SourceOptions defines the set of options to use in retrieving oplog data from the source server.
func (*SourceOptions) Name ¶
func (_ *SourceOptions) Name() string
Name returns a human-readable group name for source options.
Click to show internal directories.
Click to hide internal directories.