Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isObjectDangling (0.21 sec)

  1. cmd/erasure-healing.go

    		}
    	}
    	return
    }
    
    // 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top