checkpoint

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2023 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(cmdCtx *cmdcontext.CmdCtx) error

Cat print the contents of .snap/.xlog files. Returns an error if such occur during reading files.

func Play

func Play(cmdCtx *cmdcontext.CmdCtx) error

Play is playing the contents of .snap/.xlog files to another Tarantool instance. Returns an error if such occur during playing.

Types

type Opts

type Opts struct {
	To         uint64
	From       uint64
	Space      []int
	Format     string
	Replica    []int
	ShowSystem bool
}

Opts contains flags for managing checkpoint files commands. Used for commands tt cat and tt play, which are checkpoint files commands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL