- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getPeerForUpload (0.06 seconds)
-
cmd/site-replication.go
} type srPeerInfo struct { madmin.PeerInfo EndpointURL *url.URL } // getPeerForUpload returns the site replication peer handling this upload. Defaults to local cluster otherwise func (c *SiteReplicationSys) getPeerForUpload(deplID string) (pi srPeerInfo, local bool) { ci, _ := c.GetClusterInfo(GlobalContext) if !ci.Enabled { return pi, true }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
cmd/generic-handlers.go
if bucket != "" && object != "" && uploadID != "" { deplID, err := getDeplIDFromUpload(uploadID) if err != nil { h.ServeHTTP(w, r) return } remote, self := globalSiteReplicationSys.getPeerForUpload(deplID) if self { h.ServeHTTP(w, r) return } r.URL.Scheme = remote.EndpointURL.Scheme r.URL.Host = remote.EndpointURL.Host // Make sure we remove any existing headers beforeCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.7K bytes - Click Count (1)