upgrade

package
v1.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(oldVersion string, index *meta.Index) error

func UpgradeFromV024T025

func UpgradeFromV024T025(index *meta.Index) error

UpgradeFromV024T025 upgrades from version <= 0.2.4 upgrade steps: -- mv index index_old -- mkdir index -- mv index_old index/000000

func UpgradeFromV025T026

func UpgradeFromV025T026(index *meta.Index) error

func UpgradeFromV026T027

func UpgradeFromV026T027(index *meta.Index) error

UpgradeFromV026T027 upgrades from version v0.2.6 this is a break update, meta.Index changed shard field, will lost shards data upgrade steps: -- update index meta -- mv index index_old -- create default layer one shards -- mv index_old/000000 index/shard1/000000 -- mv index_old/000001 index/shard1/000001 -- mv index_old/000002 index/shard1/000002 -- mv index_old/000003 index/shard1/000003

func UpgradeMetadataFromV026T027

func UpgradeMetadataFromV026T027(data []byte) (*meta.Index, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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