store

package
v1.27.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: MIT Imports: 16 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// ConsistencyResultGOOD means consistency check result is good
	ConsistencyResultGOOD = iota
	// ConsistencyResultWarning means consistency check result is not good
	ConsistencyResultWarning
	// ConsistencyResultError means consistency check result is very bad
	ConsistencyResultError
)
View Source
const (
	// ActionNA means no need of any action
	ActionNA = iota
	// ActionNeedsAttention means needs some manual work to fix things
	ActionNeedsAttention
	// ActionRemoveFolder recommends to remove the folder
	ActionRemoveFolder
	// ActionRemoveMetadata recommends to remove the metadata record
	ActionRemoveMetadata
	// ActionRereplicate means there is a need to re-replicate the data
	ActionRereplicate
)
View Source
const (
	// StorageStatusNoData means there is nothing left, w/wo folder
	StorageStatusNoData = iota
	// StorageStatusLogsOnly means there is only logs left for the extent
	StorageStatusLogsOnly
	// StorageStatusCorrupted means there is data but it is corrupted and cannot be opened
	StorageStatusCorrupted
	// StorageStatusNormal means everything good
	StorageStatusNormal
)

Variables

This section is empty.

Functions

func CheckStoreConsistency

func CheckStoreConsistency(c *cli.Context)

CheckStoreConsistency checks the consistency inforamtion of the store

Types

type CleanupAction

type CleanupAction int32

CleanupAction defines the clean up action of consistency check

type ConsistencyResult

type ConsistencyResult int32

ConsistencyResult defines the result of consistency check

type StorageStatus

type StorageStatus int32

StorageStatus defines the storage status

Jump to

Keyboard shortcuts

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