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 ¶
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
Click to show internal directories.
Click to hide internal directories.