applier

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedoApplier

type RedoApplier struct {
	// contains filtered or unexported fields
}

RedoApplier implements a redo log applier

func NewRedoApplier

func NewRedoApplier(cfg *RedoApplierConfig) *RedoApplier

NewRedoApplier creates a new RedoApplier instance

func (*RedoApplier) Apply

func (ra *RedoApplier) Apply(egCtx context.Context) (err error)

Apply applies redo log to given target

func (*RedoApplier) ReadMeta

func (ra *RedoApplier) ReadMeta(ctx context.Context) (checkpointTs uint64, resolvedTs uint64, err error)

ReadMeta creates a new redo applier and read meta from reader

type RedoApplierConfig

type RedoApplierConfig struct {
	SinkURI string
	Storage string
	Dir     string
}

RedoApplierConfig is the configuration used by a redo log applier

Jump to

Keyboard shortcuts

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