Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for HealBucket (0.15 sec)

  1. cmd/peer-s3-client.go

    func NewS3PeerSys(endpoints EndpointServerPools) *S3PeerSys {
    	return &S3PeerSys{
    		peerClients: newPeerS3Clients(endpoints),
    		poolsCount:  len(endpoints),
    	}
    }
    
    // HealBucket - heals buckets at node level
    func (sys *S3PeerSys) HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error) {
    	g := errgroup.WithNErrs(len(sys.peerClients))
    
    	for idx, client := range sys.peerClients {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    	defer func() {
    		tracker.setObject("")
    		tracker.setBucket("")
    		healingLogIf(ctx, tracker.update(ctx))
    	}()
    
    	for _, bucket := range healBuckets {
    		if err := bgSeq.healBucket(objAPI, bucket, true); err != nil {
    			// Log bucket healing error if any, we shall retry again.
    			healingLogIf(ctx, err)
    		}
    	}
    
    	info, err := tracker.disk.DiskInfo(ctx, DiskInfoOptions{})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    		return buckets[i].Created.After(buckets[j].Created)
    	})
    
    	for _, bucket := range buckets {
    		if err = h.healBucket(objAPI, bucket.Name, false); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    // healBucket - traverses and heals given bucket
    func (h *healSequence) healBucket(objAPI ObjectLayer, bucket string, bucketsOnly bool) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    
    			_, _ = sys.objAPI.HealBucket(ctx, buckets[index], madmin.HealOpts{Recreate: true})
    			meta, err := loadBucketMetadata(ctx, sys.objAPI, buckets[index])
    			if err != nil {
    				return err
    			}
    			bucketMetas[index] = meta
    			return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	SetDriveCounts() []int                              // list of erasure stripe size for each pool in order.
    
    	// Healing operations.
    	HealFormat(ctx context.Context, dryRun bool) (madmin.HealResultItem, error)
    	HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error)
    	HealObject(ctx context.Context, bucket, object, versionID string, opts madmin.HealOpts) (madmin.HealResultItem, error)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    	if z.SinglePool() {
    		return errInvalidArgument
    	}
    
    	decomBuckets, err := z.getBucketsToDecommission(ctx)
    	if err != nil {
    		return err
    	}
    
    	for _, bucket := range decomBuckets {
    		z.HealBucket(ctx, bucket.Name, madmin.HealOpts{})
    	}
    
    	// Create .minio.sys/config, .minio.sys/buckets paths if missing,
    	// this code is present to avoid any missing meta buckets on other
    	// pools.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top