mirror of https://github.com/grafana/loki
Ensure labels on sharded streams are sorted before they're sent anywhere (#7556)
Pushing streams with unsorted labels to ingesters results in a bug where ingesters duplicate chunks for streams. This causes a memory leak and eventual OOM crash when ingesters recover from the WAL because one of the duplicate streams is orphaned. This PR ensures that sharded streams have sorted labels to avoid this bug.pull/7557/head
parent
b523ff336e
commit
0a654e2357
Loading…
Reference in new issue