Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getSRBucketDeleteOp (0.2 sec)

  1. cmd/admin-handlers-site-replication.go

    		err = globalSiteReplicationSys.PeerBucketDeleteHandler(ctx, bucket, DeleteBucketOptions{
    			Force:      operation == madmin.ForceDeleteBucketBktOp,
    			SRDeleteOp: getSRBucketDeleteOp(true),
    		})
    	case madmin.PurgeDeletedBucketOp:
    		globalSiteReplicationSys.purgeDeletedBucket(ctx, objectAPI, bucket)
    	}
    	if err != nil {
    		adminLogIf(ctx, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    					return
    				}
    
    				if err = globalDNSConfig.Put(bucket); err != nil {
    					objectAPI.DeleteBucket(context.Background(), bucket, DeleteBucketOptions{
    						Force:      true,
    						SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    					})
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    
    				// Load updated bucket metadata into memory.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    }
    
    func deleteObjectPerfBucket(objectAPI ObjectLayer) {
    	objectAPI.DeleteBucket(context.Background(), globalObjectPerfBucket, DeleteBucketOptions{
    		Force:      true,
    		SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    	})
    }
    
    func validateObjPerfOptions(ctx context.Context, storageInfo madmin.StorageInfo, concurrent int, size int, autotune bool) (bool, bool, string) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	NoOp SRBucketDeleteOp = "NoOp"
    )
    
    // Empty returns true if this Op is not set
    func (s SRBucketDeleteOp) Empty() bool {
    	return string(s) == "" || string(s) == string(NoOp)
    }
    
    func getSRBucketDeleteOp(isSiteReplicated bool) SRBucketDeleteOp {
    	if !isSiteReplicated {
    		return NoOp
    	}
    	return MarkDelete
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top