Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for datadog (0.05 sec)

  1. cmd/xl-storage-format-v1.go

    	// Captures all the individual object `xl.meta`.
    	Parts []ObjectPartInfo `json:"parts,omitempty"`
    
    	// Dummy values used for legacy use cases.
    	VersionID string `json:"versionId,omitempty"`
    	DataDir   string `json:"dataDir,omitempty"` // always points to "legacy"
    }
    
    // StatInfo - carries stat information of the object.
    type StatInfo struct {
    	Size    int64     `json:"size"`    // Size of the object `xl.meta`.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	}
    
    	err = firstDisk.Delete(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    	if err != nil {
    		t.Errorf("Failure during deleting part.1 - %v", err)
    	}
    
    	err = firstDisk.WriteAll(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), []byte{})
    	if err != nil {
    		t.Errorf("Failure during creating part.1 - %v", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    			// PR #11758 used DataDir, preserve it
    			// for users who might have used master
    			// branch
    			xlMeta.data.remove(versionID, dataDir)
    
    			// We need to attempt delete "dataDir" on the disk
    			// due to a CopyObject() bug where it might have
    			// inlined the data incorrectly, to avoid a situation
    			// where we potentially leave "DataDir"
    			filePath := pathJoin(volumeDir, path, dataDir)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_test.go

    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeFileInfoMsgp(b *testing.B) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    func reduceCommonDataDir(dataDirs []string, writeQuorum int) (dataDir string) {
    	dataDirsCount := make(map[string]int)
    	for _, ddir := range dataDirs {
    		dataDirsCount[ddir]++
    	}
    
    	max := 0
    	for ddir, count := range dataDirsCount {
    		if max < count {
    			max = count
    			dataDir = ddir
    		}
    	}
    
    	if max >= writeQuorum {
    		return dataDir
    	}
    
    	return ""
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common.go

    		meta := partsMetadata[i]
    		corrupted := false
    		if filterByETag {
    			corrupted = meta.Metadata["etag"] != latestMeta.Metadata["etag"]
    		} else {
    			corrupted = !meta.ModTime.Equal(latestMeta.ModTime) || meta.DataDir != latestMeta.DataDir
    		}
    
    		if corrupted {
    			metaErrs[i] = errFileCorrupt
    			partsMetadata[i] = FileInfo{}
    			continue
    		}
    
    		if erasureDistributionReliable {
    			if !meta.IsValid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    		}
    	}
    	partsMetadata[0] = partsMetadataBackup // Revert before going to the next test
    
    	// Test 3: Not synchronized DataDir
    	partsMetadataBackup = partsMetadata[1]
    	partsMetadata[1].DataDir = "foo-random"
    
    	errs = make([]error, len(erasureDisks))
    	filteredDisks, _, _ = disksWithAllParts(ctx, erasureDisks, partsMetadata,
    		errs, fi, false, bucket, object, madmin.HealDeepScan)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. cmd/erasure-metadata_test.go

    		}
    	}
    }
    
    func TestFindFileInfoInQuorum(t *testing.T) {
    	getNFInfo := func(n int, quorum int, t int64, dataDir string, succModTimes []time.Time, numVersions []int) []FileInfo {
    		fi := newFileInfo("test", 8, 8)
    		fi.AddObjectPart(1, "etag", 100, 100, UTCNow(), nil, nil)
    		fi.ModTime = time.Unix(t, 0)
    		fi.DataDir = dataDir
    		fis := make([]FileInfo, n)
    		for i := range fis {
    			fis[i] = fi
    			fis[i].Erasure.Index = i + 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    						err = msgp.WrapError(err, "ObjectV2")
    						return
    					}
    					switch msgp.UnsafeString(field) {
    					case "DDir":
    						err = dc.ReadExactBytes((z.ObjectV2.DataDir)[:])
    						if err != nil {
    							err = msgp.WrapError(err, "ObjectV2", "DataDir")
    							return
    						}
    					default:
    						err = dc.Skip()
    						if err != nil {
    							err = msgp.WrapError(err, "ObjectV2")
    							return
    						}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-utils.go

    	if versionID == "" {
    		versionID = nullVersionID
    	}
    
    	fi.Data = inData.find(versionID)
    	if len(fi.Data) == 0 {
    		// PR #11758 used DataDir, preserve it
    		// for users who might have used master
    		// branch
    		fi.Data = inData.find(fi.DataDir)
    	}
    	return fi, nil
    }
    
    // hashDeterministicString will return a deterministic hash for the map values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top