@@ -257,7 +257,6 @@ func (c *BlobCacheClient) GetContent(hash string, offset int64, length int64) ([
257
257
if err != nil || ! getContentResponse .Ok {
258
258
259
259
// 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 )
261
260
c .metadata .RemoveEntryLocation (ctx , hash , host )
262
261
263
262
c .mu .Lock ()
@@ -293,7 +292,6 @@ func (c *BlobCacheClient) GetContentStream(hash string, offset int64, length int
293
292
294
293
stream , err := client .GetContentStream (ctx , & proto.GetContentRequest {Hash : hash , Offset : offset , Length : length })
295
294
if err != nil {
296
- Logger .Infof ("Removing location entry from metadata after failed GetContentStream: %s" , host .Addr )
297
295
c .metadata .RemoveEntryLocation (ctx , hash , host )
298
296
c .mu .Lock ()
299
297
delete (c .localHostCache , hash )
@@ -308,7 +306,6 @@ func (c *BlobCacheClient) GetContentStream(hash string, offset int64, length int
308
306
}
309
307
310
308
if err != nil || ! resp .Ok {
311
- Logger .Infof ("Removing location entry from metadata after failed stream recv: %s" , host .Addr )
312
309
c .metadata .RemoveEntryLocation (ctx , hash , host )
313
310
c .mu .Lock ()
314
311
delete (c .localHostCache , hash )
0 commit comments