mirror of https://github.com/prometheus/prometheus
When Prometheus restarts it creates every series read in from the WAL, but many of those series will be finished, and never receive any more samples. By defering allocation of the txRing slice to when it is first needed, we save 32 bytes per stale series. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>pull/13015/head
parent
6fe8217ce4
commit
90e98e0235
Loading…
Reference in new issue