Skip to content

Commit

Permalink
satellite/repair: clumping only repairs should be reported on debug l…
Browse files Browse the repository at this point in the history
…evel

It's definitely a debug message (a very useful one). Makes harder to spot real problems during the normal operation, if it's on info level.

Change-Id: I734a834b135cb303bc2f31a979fb1ad259b972b8
  • Loading branch information
elek authored and Storj Robot committed Apr 22, 2024
1 parent 8d6eed6 commit 7defdac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satellite/repair/checker/observer.go
Expand Up @@ -512,7 +512,7 @@ func (fork *observerFork) process(ctx context.Context, segment *rangedloop.Segme
lastNets[i] = node.LastNet
}
clumpedNets := clumpingReport{lastNets: lastNets}
fork.log.Info("segment needs repair only because of clumping", zap.Stringer("Segment StreamID", segment.StreamID), zap.Uint64("Segment Position", segment.Position.Encode()), zap.Int("total pieces", len(pieces)), zap.Int("min required", required), zap.Stringer("clumping", &clumpedNets))
fork.log.Debug("segment needs repair only because of clumping", zap.Stringer("Segment StreamID", segment.StreamID), zap.Uint64("Segment Position", segment.Position.Encode()), zap.Int("total pieces", len(pieces)), zap.Int("min required", required), zap.Stringer("clumping", &clumpedNets))
}
} else {
if numHealthy > repairThreshold && numHealthy <= (repairThreshold+len(
Expand Down

0 comments on commit 7defdac

Please sign in to comment.