Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for MRF (0.18 sec)

  1. cmd/mrf.go

    	versions            []byte
    	setIndex, poolIndex int
    	queued              time.Time
    	scanMode            madmin.HealScanMode
    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan partialOperation
    }
    
    // Add a partial S3 operation (put/delete) when one or more disks are offline.
    func (m *mrfState) addPartialOp(op partialOperation) {
    	if m == nil {
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  3. 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
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. 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"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K 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
    				}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    	Checksum []byte `msg:"cs,allownil"`
    
    	// Versioned - indicates if this file is versioned or not.
    	Versioned bool `msg:"vs"`
    }
    
    // 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
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K 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
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. 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)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. 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(
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top