migration

package
v2.9.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: BSD-3-Clause Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterInitSteps

func AfterInitSteps(
	sharkyPath string,
	sharkyNoOfShards int,
	st transaction.Storage,
	logger log.Logger,
) migration.Steps

AfterInitSteps lists all migration steps for localstore IndexStore after the localstore is initiated.

func BeforeInitSteps added in v2.1.0

func BeforeInitSteps(st storage.BatchStore, logger log.Logger) migration.Steps

BeforeInitSteps lists all migration steps for localstore IndexStore before the localstore is initiated.

func ReserveRepairer added in v2.1.0

func ReserveRepairer(
	st transaction.Storage,
	chunkTypeFunc func(swarm.Chunk) swarm.ChunkType,
	logger log.Logger,
) func() error

ReserveRepairer runs the manual reserve repair procedure used by the db repair command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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