@@ -257,7 +257,6 @@ func (c *BlobCacheClient) GetContent(hash string, offset int64, length int64) ([
257257 if err != nil || ! getContentResponse .Ok {
258258
259259 // If we had an issue getting the content, remove this location from metadata
260- Logger .Infof ("Removing location entry from metadata after failed GetContent: %s" , host .Addr )
261260 c .metadata .RemoveEntryLocation (ctx , hash , host )
262261
263262 c .mu .Lock ()
@@ -293,7 +292,6 @@ func (c *BlobCacheClient) GetContentStream(hash string, offset int64, length int
293292
294293 stream , err := client .GetContentStream (ctx , & proto.GetContentRequest {Hash : hash , Offset : offset , Length : length })
295294 if err != nil {
296- Logger .Infof ("Removing location entry from metadata after failed GetContentStream: %s" , host .Addr )
297295 c .metadata .RemoveEntryLocation (ctx , hash , host )
298296 c .mu .Lock ()
299297 delete (c .localHostCache , hash )
@@ -308,7 +306,6 @@ func (c *BlobCacheClient) GetContentStream(hash string, offset int64, length int
308306 }
309307
310308 if err != nil || ! resp .Ok {
311- Logger .Infof ("Removing location entry from metadata after failed stream recv: %s" , host .Addr )
312309 c .metadata .RemoveEntryLocation (ctx , hash , host )
313310 c .mu .Lock ()
314311 delete (c .localHostCache , hash )
0 commit comments