Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for mrf (0.07 sec)

  1. cmd/mrf.go

    	case m.opCh <- op:
    	default:
    	}
    }
    
    // Do not accept new MRF operations anymore and start to save
    // the current heal status in one available disk
    func (m *mrfState) shutdown() {
    	atomic.StoreInt32(&m.closing, 1)
    	m.wg.Wait()
    	close(m.opCh)
    	atomic.StoreInt32(&m.closed, 1)
    
    	if len(m.opCh) > 0 {
    		healingLogEvent(context.Background(), "Saving MRF healing data (%d entries)", len(m.opCh))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    		rx.Peak = rx.Curr
    	}
    	rx.N++
    }
    
    // ReplicationMRFStats holds stats of MRF backlog saved to disk in the last 5 minutes
    // and number of entries that failed replication after 3 retries
    type ReplicationMRFStats struct {
    	LastFailedCount uint64 `json:"failedCount_last5min"`
    	// Count of unreplicated entries that were dropped after MRF retry limit reached since cluster start.
    	TotalDroppedCount uint64 `json:"droppedCount_since_uptime"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    	opts.Prefix = q.Get("prefix")
    	return
    }
    
    const (
    	replicationMRFDir = bucketMetaPrefix + SlashSeparator + replicationDir + SlashSeparator + "mrf"
    	mrfMetaFormat     = 1
    	mrfMetaVersionV1  = 1
    	mrfMetaVersion    = mrfMetaVersionV1
    )
    
    // MRFReplicateEntry mrf entry to save to disk
    type MRFReplicateEntry struct {
    	Bucket     string `json:"bucket" msg:"b"`
    	Object     string `json:"object" msg:"o"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	WorkerAutoDefault = 100
    
    	// MRFWorkerMaxLimit max number of mrf workers per node for "fast" mode
    	MRFWorkerMaxLimit = 8
    
    	// MRFWorkerMinLimit min number of mrf workers per node for "slow" mode
    	MRFWorkerMinLimit = 2
    
    	// MRFWorkerAutoDefault is default number of mrf workers for "auto" mode
    	MRFWorkerAutoDefault = 4
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		// When there is versions disparity we are healing
    		// the content implicitly for all versions, we can
    		// avoid triggering another MRF heal for offline drives.
    		if len(versions) == 0 {
    			// Whether a disk was initially or becomes offline
    			// during this upload, send it to the MRF list.
    			for i := 0; i < len(onlineDisks); i++ {
    				if onlineDisks[i] != nil && onlineDisks[i].IsOnline() {
    					continue
    				}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication-stats.go

    	// for site replication - maintain stats at global level
    	srStats *SRStats
    	// active worker stats
    	workers *ActiveWorkerStat
    	// queue stats cache
    	qCache queueCache
    
    	pCache proxyStatsCache
    	// mrf backlog stats
    	mrfStats ReplicationMRFStats
    	// for bucket replication, continue to use existing cache
    	Cache             map[string]*BucketReplicationStats
    	mostRecentStats   BucketStatsMap
    	registry          metrics.Registry
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. cmd/admin-router.go

    			adminMiddleware(adminAPI.ReplicationDiffHandler)).Queries("bucket", "{bucket:.*}")
    		// ReplicationMRFHandler - MinIO extension API
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/replication/mrf").HandlerFunc(
    			adminMiddleware(adminAPI.ReplicationMRFHandler)).Queries("bucket", "{bucket:.*}")
    
    		// Batch job operations
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/start-job").HandlerFunc(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	done := keepHTTPResponseAlive(w)
    	result := driveSpeedTest(r.Context(), opts)
    	done(nil)
    
    	peersLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    }
    
    // GetReplicationMRFHandler - returns replication MRF for bucket
    func (s *peerRESTServer) GetReplicationMRFHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	lastShardSize := ceilFrac(lastBlockSize, int64(fi.Erasure.DataBlocks))
    	return numShards*fi.shardSize() + lastShardSize
    }
    
    // ShallowCopy - copies minimal information for READ MRF checks.
    func (fi FileInfo) ShallowCopy() (n FileInfo) {
    	n.Volume = fi.Volume
    	n.Name = fi.Name
    	n.VersionID = fi.VersionID
    	n.Deleted = fi.Deleted
    	n.Erasure = fi.Erasure
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    	if err != nil {
    		return result, err
    	}
    	defer xhttp.DrainBody(respBody)
    	err = gob.NewDecoder(respBody).Decode(&result)
    	return result, err
    }
    
    // GetReplicationMRF - get replication MRF for bucket
    func (client *peerRESTClient) GetReplicationMRF(ctx context.Context, bucket string) (chan madmin.ReplicationMRF, error) {
    	values := make(url.Values)
    	values.Set(peerRESTBucket, bucket)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top