Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for rebalance (0.04 sec)

  1. cmd/rebalance-admin.go

    	Status   string            `json:"status"`   // Active if rebalance is running, empty otherwise
    	Used     float64           `json:"used"`     // Percentage used space
    	Progress rebalPoolProgress `json:"progress"` // is empty when rebalance is not running
    }
    
    // rebalanceAdminStatus holds rebalance status related information exported to mc, console, etc.
    type rebalanceAdminStatus struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    							NoAuditLog:        true,
    						})
    					// This can happen when rebalance stop races with ongoing rebalance workers.
    					// These rebalance failures can be ignored.
    					if err != nil {
    						// This can happen when rebalance stop races with ongoing rebalance workers.
    						// These rebalance failures can be ignored.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-pools.go

    		return
    	}
    
    	// Rebalance routine is run on the first node of any pool participating in rebalance.
    	pools.StartRebalance()
    
    	b, err := json.Marshal(struct {
    		ID string `json:"id"`
    	}{ID: id})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, b)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	SkipDecommissioned bool
    	// SkipRebalancing should be set to 'true' if the call should skip pools
    	// participating in a rebalance operation. Typically set for 'write' operations.
    	SkipRebalancing bool
    
    	SrcPoolIdx int // set by PutObject/CompleteMultipart operations due to rebalance; used to prevent rebalance src, dst pools to be the same
    
    	DataMovement bool // indicates an going decommisionning or rebalacing
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. cmd/logging.go

    	logger.Event(ctx, "iam", msg, args...)
    }
    
    func rebalanceLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "rebalance", err, errKind...)
    }
    
    func rebalanceLogEvent(ctx context.Context, msg string, args ...any) {
    	logger.Event(ctx, "rebalance", msg, args...)
    }
    
    func adminLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "admin", err, errKind...)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    // in 'pool.bin', this is eventually used for decommissioning the pool.
    func (z *erasureServerPools) Init(ctx context.Context) error {
    	// Load rebalance metadata if present
    	if err := z.loadRebalanceMeta(ctx); err == nil {
    		// Start rebalance routine if we can reload rebalance metadata.
    		z.StartRebalance()
    	}
    
    	meta := poolMeta{}
    	if err := meta.load(ctx, z.serverPools[0], z.serverPools); err != nil {
    		return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  7. cmd/notification.go

    	}
    
    	if pools, ok := objAPI.(*erasureServerPools); ok {
    		pools.StopRebalance()
    	}
    }
    
    // LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer.
    // Note: Only peers participating in rebalance operation, namely the first node
    // in each pool will load rebalance.bin.
    func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) {
    	ng := WithNPeers(len(sys.peerClients))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    			}
    			// Previously we checked if we had quorum on DataDir value.
    			// We have removed this check to allow reading objects with different DataDir
    			// values in a few drives (due to a rebalance-stop race bug)
    			// provided their their etags or ModTimes match.
    
    			if !meta.Deleted && meta.Size != 0 {
    				fmt.Fprintf(h, "%v+%v", meta.Erasure.DataBlocks, meta.Erasure.ParityBlocks)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    // from healObject)
    func (fi FileInfo) Healing() bool {
    	_, ok := fi.Metadata[xMinIOHealing]
    	return ok
    }
    
    // SetDataMov marks object (version) as being currently
    // in movement, such as decommissioning or rebalance.
    func (fi *FileInfo) SetDataMov() {
    	if fi.Metadata == nil {
    		fi.Metadata = make(map[string]string)
    	}
    	fi.Metadata[xMinIODataMov] = "true"
    }
    
    // DataMov returns true if object is being in movement
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    	nSets := make([]int, len(z.serverPools))
    	g := errgroup.WithNErrs(len(z.serverPools))
    	for index := range z.serverPools {
    		// Skip suspended pools or pools participating in rebalance for any new
    		// I/O.
    		if z.IsSuspended(index) || z.IsPoolRebalancing(index) {
    			continue
    		}
    		pool := z.serverPools[index]
    		nSets[index] = pool.setCount
    		g.Go(func() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top