Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for total_deletes (0.25 sec)

  1. cmd/xl-storage.go

    	if err != nil {
    		return dataUsageInfo, err
    	}
    
    	dataUsageInfo.Info.LastUpdate = time.Now()
    	return dataUsageInfo, nil
    }
    
    func (s *xlStorage) getDeleteAttribute() uint64 {
    	attr := "user.total_deletes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	defer si(&err)
    
    	if opts.NoOp {
    		if opts.Metrics {
    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    		info.Metrics.TotalDeletes = p.totalDeletes.Load()
    		info.Metrics.TotalWaiting = uint32(p.health.waiting.Load())
    		info.Metrics.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    		info.Metrics.TotalErrorsAvailability = p.totalErrsAvailability.Load()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    	deletes := make([]uint64, len(infos))
    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    	TotalWrites             uint64             `json:"totalWrites"`
    	TotalDeletes            uint64             `json:"totalDeletes"`
    }
    
    // VolsInfo is a collection of volume(bucket) information
    type VolsInfo []VolInfo
    
    // VolInfo - represents volume stat information.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    			z.TotalWrites, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalWrites")
    				return
    			}
    		case "TotalDeletes":
    			z.TotalDeletes, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalDeletes")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    				if disk.IsLocal() {
    					xldisk, ok := disk.(*xlStorageDiskIDCheck)
    					if ok {
    						_, commonDeletes := calcCommonWritesDeletes(currentDisksInfo[m], (s.setDriveCount+1)/2)
    						xldisk.totalDeletes.Store(commonDeletes)
    						xldisk.storage.setDeleteAttribute(commonDeletes)
    
    						if globalDriveMonitoring {
    							go xldisk.monitorDiskWritable(xldisk.diskCtx)
    						}
    					}
    				} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
Back to top