Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newObjectLayerFn (0.15 sec)

  1. cmd/global-heal.go

    	scanMode := madmin.HealNormalScan
    
    	// Make sure to copy since `buckets slice`
    	// is modified in place by tracker.
    	healBuckets := make([]string, len(buckets))
    	copy(healBuckets, buckets)
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	started := tracker.Started
    	if started.IsZero() || started.Equal(timeSentinel) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    func (h *healingTracker) save(ctx context.Context) error {
    	h.mu.Lock()
    	if h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 {
    		// Attempt to get location.
    		if api := newObjectLayerFn(); api != nil {
    			if ep, ok := api.(*erasureServerPools); ok {
    				h.PoolIndex, h.SetIndex, h.DiskIndex, _ = ep.getPoolAndSet(h.ID)
    			}
    		}
    	}
    	h.LastUpdate = time.Now().UTC()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    					Config:  rcfg,
    					remotes: tgts,
    				}
    			}
    		}
    	}
    
    	vcfg, _ := globalBucketVersioningSys.Get(cache.Info.Name)
    
    	// return initialized object layer
    	objAPI := newObjectLayerFn()
    	// object layer not initialized, return.
    	if objAPI == nil {
    		return cache, errServerNotInitialized
    	}
    
    	poolIdx, setIdx, _ := s.GetDiskLoc()
    
    	disks, err := objAPI.GetDisks(poolIdx, setIdx)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top