mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
heal: Dangling check to evaluate object parts separately (#19797)
This commit is contained in:
@@ -502,6 +502,23 @@ type RenameDataResp struct {
|
||||
OldDataDir string // contains '<uuid>', it is designed to be passed as value to Delete(bucket, pathJoin(object, dataDir))
|
||||
}
|
||||
|
||||
const (
|
||||
checkPartUnknown int = iota
|
||||
|
||||
// Changing the order can cause a data loss
|
||||
// when running two nodes with incompatible versions
|
||||
checkPartSuccess
|
||||
checkPartDiskNotFound
|
||||
checkPartVolumeNotFound
|
||||
checkPartFileNotFound
|
||||
checkPartFileCorrupt
|
||||
)
|
||||
|
||||
// CheckPartsResp is a response of the storage CheckParts and VerifyFile APIs
|
||||
type CheckPartsResp struct {
|
||||
Results []int
|
||||
}
|
||||
|
||||
// LocalDiskIDs - GetLocalIDs response.
|
||||
type LocalDiskIDs struct {
|
||||
IDs []string
|
||||
|
||||
Reference in New Issue
Block a user