Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for IsSuspended (0.17 sec)

  1. cmd/erasure-server-pool.go

    	nSets := make([]int, len(z.serverPools))
    	g := errgroup.WithNErrs(len(z.serverPools))
    	for index := range z.serverPools {
    		index := index
    		// 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    	} else {
    		// Complete the decommission..
    		decomLogIf(GlobalContext, z.CompleteDecommission(dctx, idx))
    	}
    }
    
    func (z *erasureServerPools) IsSuspended(idx int) bool {
    	z.poolMetaMutex.RLock()
    	defer z.poolMetaMutex.RUnlock()
    	return z.poolMeta.IsSuspended(idx)
    }
    
    // Decommission - start decommission session.
    func (z *erasureServerPools) Decommission(ctx context.Context, indices ...int) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    				bucketMap[bucket] = &v
    			}
    
    			if globalSiteReplicationSys.isEnabled() && v.Suspended() {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf("Cluster replication is enabled for this site, so the versioning state cannot be suspended."))
    				continue
    			}
    
    			if rcfg, _ := globalBucketObjectLockSys.Get(bucket); rcfg.LockEnabled && v.Suspended() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. cmd/object-handlers-common.go

    			remaining = nil
    		}
    		vc, _ := globalBucketVersioningSys.Get(bucket)
    		deletedObjs, errs := o.DeleteObjects(ctx, bucket, toDel, ObjectOptions{
    			PrefixEnabledFn:  vc.PrefixEnabled,
    			VersionSuspended: vc.Suspended(),
    		})
    
    		for i, dobj := range deletedObjs {
    			oi := ObjectInfo{
    				Bucket:    bucket,
    				Name:      dobj.ObjectName,
    				VersionID: dobj.VersionID,
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	}
    
    	completeMultiPartUpload := objectAPI.CompleteMultipartUpload
    
    	versioned := globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	suspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    	os := newObjSweeper(bucket, object).WithVersioning(versioned, suspended)
    	if !globalTierConfigMgr.Empty() {
    		// Get appropriate object info to identify the remote object to delete
    		goiOpts := os.GetOpts()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		if objects[i].VersionID == "" {
    			// MinIO extension to bucket version configuration
    			suspended := opts.VersionSuspended
    			versioned := opts.Versioned
    			if opts.PrefixEnabledFn != nil {
    				versioned = opts.PrefixEnabledFn(objects[i].ObjectName)
    			}
    			if versioned || suspended {
    				// Bucket is versioned and no version was explicitly
    				// mentioned for deletes, create a delete marker instead.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    				}
    				continue
    			}
    		}
    
    		opts := ObjectOptions{
    			VersionID:        object.VersionID,
    			Versioned:        vc.PrefixEnabled(object.ObjectName),
    			VersionSuspended: vc.Suspended(),
    		}
    
    		if replicateDeletes || object.VersionID != "" && hasLockEnabled || !globalTierConfigMgr.Empty() {
    			if !globalTierConfigMgr.Empty() && object.VersionID == "" && opts.VersionSuspended {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    	}
    	return tasks
    }
    
    // enqueueTierJournalEntry enqueues a tier journal entry referring to a remote
    // object corresponding to a 'replaced' object versions. This applies only to
    // non-versioned or version suspended buckets.
    func (es *expiryState) enqueueTierJournalEntry(je jentry) {
    	wrkr := es.getWorkerCh(je.OpHash())
    	if wrkr == nil {
    		es.stats.missedTierJournalTasks.Add(1)
    		return
    	}
    	select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    type ObjectOptions struct {
    	ServerSideEncryption encrypt.ServerSide
    	VersionSuspended     bool      // indicates if the bucket was previously versioned but is currently suspended.
    	Versioned            bool      // indicates if the bucket is versioned
    	VersionID            string    // Specifies the versionID which needs to be overwritten or read
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    func (r *BatchJobExpire) Expire(ctx context.Context, api ObjectLayer, vc *versioning.Versioning, objsToDel []ObjectToDelete) []error {
    	opts := ObjectOptions{
    		PrefixEnabledFn:  vc.PrefixEnabled,
    		VersionSuspended: vc.Suspended(),
    	}
    
    	allErrs := make([]error, 0, len(objsToDel))
    
    	for {
    		count := len(objsToDel)
    		if count == 0 {
    			break
    		}
    		if count > maxDeleteList {
    			count = maxDeleteList
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top