Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
Back to top