Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateDecayedLog ¶
func MigrateDecayedLog(db kvdb.Backend, cfg MigrationConfig) error
MigrateDecayedLog migrates the decayed log. The migration deletes the `batch-replay` bucket, which is no longer used.
NOTE: This migration is idempotent. If the bucket does not exist, then this migration is a no-op.
Types ¶
type MigrationConfig ¶
MigrationConfig is the interface for the migration configuration.
type MigrationConfigImpl ¶
MigrationConfigImpl is the implementation of the migration configuration.
func (*MigrationConfigImpl) GetDecayedLog ¶
func (c *MigrationConfigImpl) GetDecayedLog() kvdb.Backend
GetDecayedLog returns the decayed log backend.
Click to show internal directories.
Click to hide internal directories.