Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDeplIDForEndpoint (0.33 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.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top