Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for replicationStats (0.14 sec)

  1. cmd/bucket-stats.go

    type BucketStatsMap struct {
    	Stats     map[string]BucketStats
    	Timestamp time.Time
    }
    
    // BucketStats bucket statistics
    type BucketStats struct {
    	Uptime           int64                  `json:"uptime"`
    	ReplicationStats BucketReplicationStats `json:"currStats"`  // current replication stats since cluster startup
    	QueueStats       ReplicationQueueStats  `json:"queueStats"` // replication queue stats
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/notification.go

    		Timestamp: UTCNow(),
    	}
    	for k, replicationStats := range replicationStatsList {
    		bucketStatsMap.Stats[k] = BucketStats{
    			ReplicationStats: replicationStats,
    			ProxyStats:       globalReplicationStats.Load().getProxyStats(k),
    		}
    	}
    
    	replicationStats = append(replicationStats, bucketStatsMap)
    	return replicationStats
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    func (s *peerRESTServer) GetAllBucketStatsHandler(mss *grid.MSS) (*BucketStatsMap, *grid.RemoteErr) {
    	replicationStats := globalReplicationStats.Load().GetAll()
    	bucketStatsMap := make(map[string]BucketStats, len(replicationStats))
    	for k, v := range replicationStats {
    		bucketStatsMap[k] = BucketStats{
    			ReplicationStats: v,
    			ProxyStats:       globalReplicationStats.Load().getProxyStats(k),
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	var replicationStatus replication.StatusType
    	defer func() {
    		if replicationStatus.Empty() {
    			// replication status is empty means
    			// replication was not attempted for some
    			// reason, notify the state of the object
    			// on disk.
    			replicationStatus = ri.ReplicationStatus
    		}
    		auditLogInternal(ctx, AuditLogOptions{
    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-metadata.go

    		objInfo.UserTags = tags
    	}
    
    	// Add replication status to the object info
    	objInfo.ReplicationStatusInternal = fi.ReplicationState.ReplicationStatusInternal
    	objInfo.VersionPurgeStatusInternal = fi.ReplicationState.VersionPurgeStatusInternal
    	objInfo.ReplicationStatus = fi.ReplicationStatus()
    	if objInfo.ReplicationStatus.Empty() { // overlay x-amx-replication-status if present for replicas
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    	}
    }
    
    // PutReplicationState gets ReplicationState for PUT operation from ObjectOptions
    func (o *ObjectOptions) PutReplicationState() (r ReplicationState) {
    	rstatus, ok := o.UserDefined[ReservedMetadataPrefixLower+ReplicationStatus]
    	if !ok {
    		return
    	}
    	r.ReplicationStatusInternal = rstatus
    	r.Targets = replicationStatusesMap(rstatus)
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaStatus] = []byte(fi.ReplicationState.ReplicaStatus)
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicaTimestamp] = []byte(fi.ReplicationState.ReplicaTimeStamp.UTC().Format(time.RFC3339Nano))
    			default:
    				ventry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+ReplicationStatus] = []byte(fi.ReplicationState.ReplicationStatusInternal)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  8. cmd/object-handlers.go

    					w.Header()[xhttp.MinIODeleteReplicationStatus] = []string{string(gr.ObjInfo.VersionPurgeStatus)}
    				}
    				if !gr.ObjInfo.ReplicationStatus.Empty() && gr.ObjInfo.DeleteMarker {
    					w.Header()[xhttp.MinIODeleteMarkerReplicationStatus] = []string{string(gr.ObjInfo.ReplicationStatus)}
    				}
    
    				// Versioning enabled quite possibly object is deleted might be delete-marker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    				DeleteMarkerMTime:     DeleteMarkerMTime{vr.ModTime},
    				ObjectName:            vr.Name,
    				ReplicationState:      vr.ReplicationState,
    			}
    		} else {
    			dobjects[i] = DeletedObject{
    				ObjectName:       vr.Name,
    				VersionID:        vr.VersionID,
    				ReplicationState: vr.ReplicationState,
    			}
    		}
    		versionsMap[objects[i].ObjectName] = v
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    			},
    			VersionPurgeStatus:            dObjects[i].VersionPurgeStatus(),
    			VersionPurgeStatuses:          dObjects[i].ReplicationState.VersionPurgeStatusInternal,
    			DeleteMarkerReplicationStatus: dObjects[i].ReplicationState.ReplicationStatusInternal,
    			ReplicateDecisionStr:          dObjects[i].ReplicationState.ReplicateDecisionStr,
    		}
    		dindex := objectsToDelete[objToDel]
    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