Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
netstore: shadow chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Nov 29, 2019
1 parent a73d968 commit 775f0bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/netstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (n *NetStore) Put(ctx context.Context, mode chunk.ModePut, chs ...Chunk) ([

n.putMu.Lock()
for i, ch := range chs {
ch := ch
n.logger.Trace("netstore.put", "index", i, "ref", ch.Address().String(), "mode", mode)
fi, ok := n.fetchers.Get(ch.Address().String())
if ok {
Expand Down

0 comments on commit 775f0bf

Please sign in to comment.