Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for healBucket (0.15 sec)

  1. cmd/site-replication.go

    	z.s3Peer.DeleteBucket(context.Background(), pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, bucket), DeleteBucketOptions{})
    }
    
    // healBucket creates/deletes the bucket according to latest state across clusters participating in site replication.
    func (c *SiteReplicationSys) healBucket(ctx context.Context, objAPI ObjectLayer, bucket string, info srStatusInfo) error {
    	bs := info.BucketStats[bucket]
    	c.RLock()
    	defer c.RUnlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. internal/crypto/key_test.go

    }
    
    var sealUnsealKeyTests = []struct {
    	SealExtKey, SealIV                 [32]byte
    	SealDomain, SealBucket, SealObject string
    
    	UnsealExtKey                             [32]byte
    	UnsealDomain, UnsealBucket, UnsealObject string
    
    	ShouldPass bool
    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. cmd/peer-s3-server.go

    	globalLocalDrivesMu.RUnlock()
    
    	quorum := (len(localDrives) / 2)
    
    	buckets = make([]BucketInfo, 0, 32)
    	healBuckets := map[string]VolInfo{}
    
    	// lists all unique buckets across drives.
    	if err := listAllBuckets(ctx, localDrives, healBuckets, quorum); err != nil {
    		return nil, err
    	}
    
    	// include deleted buckets in listBuckets output
    	deletedBuckets := map[string]VolInfo{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    	ExecObjectLayerAPINilTest(t, nilBucket, "", instanceType, apiRouter, nilReq)
    }
    
    // Wrapper for calling HeadBucket HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestHeadBucketHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testHeadBucketHandler, endpoints: []string{"HeadBucket"}})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    				// incompatible with buckets - these are
    				// skipped, like the meta-bucket.
    				if isReservedOrInvalidBucket(volInfo.Name, false) {
    					continue
    				}
    				mu.Lock()
    				if _, ok := healBuckets[volInfo.Name]; !ok {
    					healBuckets[volInfo.Name] = volInfo
    				}
    				mu.Unlock()
    			}
    			return nil
    		}, index)
    	}
    	return reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. cmd/api-router.go

    			Queries("replication-reset", "")
    
    		// PutBucket
    		router.Methods(http.MethodPut).
    			HandlerFunc(s3APIMiddleware(api.PutBucketHandler))
    		// HeadBucket
    		router.Methods(http.MethodHead).
    			HandlerFunc(s3APIMiddleware(api.HeadBucketHandler))
    		// PostPolicy
    		router.Methods(http.MethodPost).
    			MatcherFunc(func(r *http.Request, _ *mux.RouteMatch) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    		case "GetBucketLocation":
    			// Register GetBucketLocation handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketLocationHandler).Queries("location", "")
    		case "HeadBucket":
    			// Register HeadBucket handler.
    			bucket.Methods(http.MethodHead).HandlerFunc(api.HeadBucketHandler)
    		case "DeleteMultipleObjects":
    			// Register DeleteMultipleObjects handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    // return responses such as 404 Not Found and 403 Forbidden.
    func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "HeadBucket")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top