Documentation ¶
Index ¶
- type Backuper
- type Cluster
- func (c *Cluster) ApplyConfig(file string)
- func (c *Cluster) Backup() string
- func (c *Cluster) BackupAndRestore()
- func (c *Cluster) BackupBoundsCheck()
- func (c *Cluster) BackupCancellation(storage string)
- func (c *Cluster) BackupDelete(storage string)
- func (c *Cluster) BackupNotDeleteRunning()
- func (c *Cluster) BackupWaitDone(bcpName string)
- func (c *Cluster) ClockSkew()
- func (c *Cluster) DataChecker() (check func())
- func (c *Cluster) DeleteBallast()
- func (c *Cluster) DistributedTransactions(bcp Backuper, col string)
- func (c *Cluster) DistributedTrxPITR()
- func (c *Cluster) DistributedTrxSnapshot()
- func (c *Cluster) GenerateBallastData(amount int)
- func (c *Cluster) NetworkCut()
- func (c *Cluster) PITRbasic()
- func (c *Cluster) PITRestore(t time.Time)
- func (c *Cluster) RestartAgents()
- func (c *Cluster) Restore(bcpName string)
- func (c *Cluster) ServerVersion() string
- type ClusterConf
- type Pitr
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backuper ¶
type Backuper interface { Backup() Restore() WaitStarted() WaitSnapshot() WaitDone() }
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg ClusterConf) *Cluster
func (*Cluster) ApplyConfig ¶
func (*Cluster) BackupAndRestore ¶
func (c *Cluster) BackupAndRestore()
func (*Cluster) BackupBoundsCheck ¶
func (c *Cluster) BackupBoundsCheck()
func (*Cluster) BackupCancellation ¶
func (*Cluster) BackupDelete ¶
func (*Cluster) BackupNotDeleteRunning ¶
func (c *Cluster) BackupNotDeleteRunning()
func (*Cluster) BackupWaitDone ¶
func (*Cluster) DataChecker ¶
func (c *Cluster) DataChecker() (check func())
func (*Cluster) DeleteBallast ¶
func (c *Cluster) DeleteBallast()
func (*Cluster) DistributedTransactions ¶
func (*Cluster) DistributedTrxPITR ¶
func (c *Cluster) DistributedTrxPITR()
func (*Cluster) DistributedTrxSnapshot ¶
func (c *Cluster) DistributedTrxSnapshot()
func (*Cluster) GenerateBallastData ¶
func (*Cluster) NetworkCut ¶
func (c *Cluster) NetworkCut()
func (*Cluster) PITRestore ¶
func (*Cluster) RestartAgents ¶
func (c *Cluster) RestartAgents()
RestartAgents restarts agents during backup. Currently restarts agents on all shards. Also consider restarting
only one shard and/or configsrv, but see https://jira.percona.com/browse/PBM-406?focusedCommentId=248029&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-248029
func (*Cluster) ServerVersion ¶
type ClusterConf ¶
type Pitr ¶
type Pitr struct {
// contains filtered or unexported fields
}
func (*Pitr) WaitSnapshot ¶
func (p *Pitr) WaitSnapshot()
func (*Pitr) WaitStarted ¶
func (p *Pitr) WaitStarted()
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
func NewSnapshot ¶
func (*Snapshot) WaitSnapshot ¶
func (s *Snapshot) WaitSnapshot()
func (*Snapshot) WaitStarted ¶
func (s *Snapshot) WaitStarted()
Click to show internal directories.
Click to hide internal directories.