Documentation ¶
Index ¶
Constants ¶
const LogStartMsg = "start_ok"
LogStartMsg message to log on successful streaming start
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrOpMoved ¶ added in v1.3.2
type ErrOpMoved struct {
// contains filtered or unexported fields
}
ErrOpMoved is the error signaling that slicing op now being run by the other node
func (ErrOpMoved) Error ¶ added in v1.3.2
func (e ErrOpMoved) Error() string
type Slicer ¶ added in v1.6.0
type Slicer struct {
// contains filtered or unexported fields
}
Slicer is an incremental backup object
func (*Slicer) Catchup ¶ added in v1.6.0
Catchup seeks for the last saved (backed up) TS - the starting point. It should be run only if the timeline was lost (e.g. on (re)start, restart after backup, node's fail). The starting point sets to the last backup's or last PITR chunk's TS whichever is the most recent. If there is a chunk behind the last backup it will try to fill the gaps from the chunk to the starting point. While filling gaps it checks the oplog for sufficiency. It also checks if there is no restore intercepted the timeline (hence there are no restores after the most recent backup)