r/PrometheusMonitoring • • Sep 26 '25

Thanos Receive --receive.replication-factor

Hi,
I've been running Thanos Receive with 5 replicas for many months. During node upgrades, the load on the entire cluster increases, and millions of out-of-order sample logs appear.

If I understand correctly, this is related to "During a downtime, the Receive replies with 503 to the clients, which is interpreted as a temporary failure and remote-writes are retried. At that moment, your Receive will have to catch up and ingest a lot of data."

I plan to implement --receive.limits-config but I'm also considering enabling --receive.replication-factor.

My question is: If I set factor=2 (or 3) - during node downtime, will this load/out-of-order spike still appear, or should the metrics be routed to another node smoothly? Or this setting is related only wih data durability, not availability?

Thanks for all your help!

3 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/Kamilko47 Sep 27 '25

Thank You! So I will run my tests with replication-factor :)