Only log at INFO about multiple versions of a segment

Since these tend to happen around stream endings, etc,
we don't want them to be crazy noisy and cause us to disregard real problems.

We can use the segment coverage to see in metrics if there are overlaps.
pull/152/head
Mike Lang 5 years ago
parent 4be8faf82e
commit 59ee5cf5c0

@ -239,7 +239,7 @@ def best_segments_by_start(hour):
full_segments = [segment for segment in segments if not segment.is_partial]
if full_segments:
if len(full_segments) != 1:
logging.warning("Multiple versions of full segment at start_time {}: {}".format(
logging.info("Multiple versions of full segment at start_time {}: {}".format(
start_time, ", ".join(map(str, segments))
))
# We've observed some cases where the same segment (with the same hash) will be reported

Loading…
Cancel
Save