Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for healBucketLocal (0.14 sec)

  1. cmd/peer-s3-server.go

    )
    
    const (
    	peerS3Bucket            = "bucket"
    	peerS3BucketDeleted     = "bucket-deleted"
    	peerS3BucketForceCreate = "force-create"
    	peerS3BucketForceDelete = "force-delete"
    )
    
    func healBucketLocal(ctx context.Context, bucket string, opts madmin.HealOpts) (res madmin.HealResultItem, err error) {
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    		return np, grid.NewRemoteErr(errInvalidArgument)
    	}
    
    	bucketDeleted := mss.Get(peerS3BucketDeleted) == "true"
    	_, err := healBucketLocal(context.Background(), bucket, madmin.HealOpts{
    		Remove: bucketDeleted,
    	})
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top