package
2.9.0+incompatible
Repository: https://github.com/percona/percona-backup-mongodb.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
FetchSlicersWithActiveLocks fetches the list of slicers (agents) that are holding active OpLock.
FormatChunkFilepath returns filepath for a oplog chunk.
GetAgentsWithACK returns the list of all acknowledged agents.
No description provided by the author
GetMeta fetches PITR meta doc from pbmPITR collection.
No description provided by the author
GetPITRNominees fetches nomination fragment for specified RS from pmbPITR document.
GetReplSetsWithStatus fetches all replica sets which reported status specified with parameter.
No description provided by the author
Init add initial PITR document.
IsOplogSlicing checks if PITR slicing is running.
MakeChunkMetaFromFilepath parses given file name and returns PITRChunk metadata it returns nil if file wasn't parse successfully (e.g.
MergeTimelines merges overlapping sets on timelines it presumes timelines are sorted and don't start from 0.
NewOplogBackup creates a new Oplog instance.
NewOplogRestore creates an object for an oplog applying.
PITRAddChunk stores PITR chunk metadata.
PITRFirstChunkMeta returns the oldest PITR chunk for the given Replset.
PITRGetChunksSlice returns slice of PITR oplog chunks which Start TS lies in a given time frame.
PITRGetChunksSliceUntil returns slice of PITR oplog chunks that starts up until timestamp (exclusively).
PITRGetChunkStarts returns a pitr slice chunk that belongs to the given replica set and start from the given timestamp.
PITRGetValidTimelines returns time ranges valid for PITR restore for the given replicaset.
No description provided by the author
PITRLastChunkMeta returns the most recent PITR chunk for the given Replset.
PITRTimelines returns cluster-wide time ranges valid for PITR restore.
No description provided by the author
SetClusterStatus sets cluster status field of PITR Meta doc.
SetErrorRSStatus sets Error status for specified replicaset and includes error descrioption.
No description provided by the author
SetPITRNomination adds nomination fragment for specified RS within PITRMeta.
SetPITRNomineeACK add ack for specific nomination.
SetPITRNominees add nominee(s) for specific RS.
SetReadyRSStatus sets Ready status for specified replicaset.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
OplogBackup is used for reading the Mongodb oplog.
OplogChunk is index metadata for the oplog chunks.
OplogRestore is the oplog applyer.
PITRMeta contains all operational data about PITR execution process.
PITRNomination is used to choose (nominate and elect) member(s) which will perform PITR process within a replica set(s).
PITRReplset holds status for each replica set.
No description provided by the author
No description provided by the author

# Type aliases

OpFilter can be used to filter out oplog records by content.
No description provided by the author
Status is a PITR status.