20937: Parallel collection copy
[arvados.git] / services / keepproxy / keepproxy.go
index eaa64b0ed2bf4dcf38a10ac2490de7de051709ab..2090c506869d69419ffff32d14abf0aa7bfd58fd 100644 (file)
@@ -295,6 +295,7 @@ func (h *proxyHandler) Get(resp http.ResponseWriter, req *http.Request) {
        logger := ctxlog.FromContext(req.Context())
        defer func() {
                httpserver.SetResponseLogFields(req.Context(), logrus.Fields{
+                       "locator":        locator,
                        "expectLength":   expectLength,
                        "responseLength": responseLength,
                        "proxiedURI":     proxiedURI,
@@ -508,9 +509,9 @@ func (h *proxyHandler) Put(resp http.ResponseWriter, req *http.Request) {
 // ServeHTTP implementation for IndexHandler
 // Supports only GET requests for /index/{prefix:[0-9a-f]{0,32}}
 // For each keep server found in LocalRoots:
-//   Invokes GetIndex using keepclient
-//   Expects "complete" response (terminating with blank new line)
-//   Aborts on any errors
+// - Invokes GetIndex using keepclient
+// - Expects "complete" response (terminating with blank new line)
+// - Aborts on any errors
 // Concatenates responses from all those keep servers and returns
 func (h *proxyHandler) Index(resp http.ResponseWriter, req *http.Request) {
        setCORSHeaders(resp)