Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDeplIDForEndpoint (0.26 sec)

  1. cmd/bucket-replication-stats.go

    		return
    	}
    	atomic.AddInt64(&r.srStats.ReplicaSize, sz)
    	atomic.AddInt64(&r.srStats.ReplicaCount, 1)
    }
    
    func (r *ReplicationStats) srUpdate(sr replStat) {
    	dID, err := globalSiteReplicationSys.getDeplIDForEndpoint(sr.endpoint())
    	if err == nil {
    		r.srStats.update(sr, dID)
    	}
    }
    
    // Update updates in-memory replication statistics with new values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    }
    
    func getSRResyncFilePath(dID string) string {
    	return pathJoin(siteResyncPrefix, dID+".meta")
    }
    
    func (c *SiteReplicationSys) getDeplIDForEndpoint(ep string) (dID string, err error) {
    	if ep == "" {
    		return dID, fmt.Errorf("no deployment id found for endpoint %s", ep)
    	}
    	c.RLock()
    	defer c.RUnlock()
    	if !c.enabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top