- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for isObjectDangling (0.08 seconds)
-
cmd/erasure-healing_test.go
"reflect" "testing" "time" "github.com/dustin/go-humanize" uuid2 "github.com/google/uuid" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config/storageclass" ) // Tests isObjectDangling function func TestIsObjectDangling(t *testing.T) { fi := newFileInfo("test-object", 2, 2) fi.Erasure.Index = 1 ifi := newFileInfo("test-object", 2, 2) ifi.SetInlineData() ifi.Erasure.Index = 1
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
cmd/erasure-healing.go
return notFoundCount, nonActionableCount } // Object is considered dangling/corrupted if and only // if total disks - a combination of corrupted and missing // files is lesser than number of data blocks. func isObjectDangling(metaArr []FileInfo, errs []error, dataErrsByPart map[int][]int) (validMeta FileInfo, ok bool) { // We can consider an object data not reliable // when xl.meta is not found in read quorum disks.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/erasure-object.go
} return s } func (er erasureObjects) deleteIfDangling(ctx context.Context, bucket, object string, metaArr []FileInfo, errs []error, dataErrsByPart map[int][]int, opts ObjectOptions) (FileInfo, error) { m, ok := isObjectDangling(metaArr, errs, dataErrsByPart) if !ok { // We only come here if we cannot figure out if the object // can be deleted safely, in such a scenario return ReadQuorum error. return FileInfo{}, errErasureReadQuorum
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0)