Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DDir (0.02 sec)

  1. 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)
  2. cmd/xl-storage-format-v2_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    				z.ObjectV2 = nil
    			} else {
    				if z.ObjectV2 == nil {
    					z.ObjectV2 = new(struct {
    						DataDir [16]byte `msg:"DDir"`
    					})
    				}
    				var zb0002 uint32
    				zb0002, err = dc.ReadMapHeader()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    				for zb0002 > 0 {
    					zb0002--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. cmd/erasure.go

    			drivePath := disk.Endpoint().Path
    			readDirFn(pathJoin(drivePath, minioMetaTmpDeletedBucket), func(ddir string, typ os.FileMode) error {
    				w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    				return w.Run(func() error {
    					wait := deleteCleanupSleeper.Timer(ctx)
    					removeAll(pathJoin(drivePath, minioMetaTmpDeletedBucket, ddir))
    					wait()
    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    	var (
    		uv   uuid.UUID
    		ddir uuid.UUID
    		err  error
    	)
    	if versionID == nullVersionID {
    		versionID = ""
    	}
    	if versionID != "" {
    		uv, err = uuid.Parse(versionID)
    		if err != nil {
    			return 0
    		}
    	}
    	ddir, err = uuid.Parse(dataDir)
    	if err != nil {
    		return 0
    	}
    	return x.SharedDataDirCount(uv, ddir)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. docs/debugging/xl-meta/main.go

    						Header:   b,
    						Metadata: buf.Bytes(),
    					}
    					type erasureInfo struct {
    						V2Obj *struct {
    							EcDist   []int
    							EcIndex  int
    							EcM      int
    							EcN      int
    							DDir     []byte
    							PartNums []int
    							MetaSys  struct {
    								Inline []byte `json:"x-minio-internal-inline-data"`
    							}
    						}
    					}
    					var ei erasureInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top