Additional context
Currently, if we set -distributor.extend-writes to true, distributors will send the series to one extra ingester if some ingester is NOT on ACTIVE. See the doc:
# Try writing to an additional ingester in the presence of an ingester not in
# the ACTIVE state. It is useful to disable this along with
# -ingester.unregister-on-shutdown=false in order to not spread samples to extra
# ingesters during rolling restarts with consistent naming.
# CLI flag: -distributor.extend-writes
[extend_writes: <boolean> | default = true]
This behavior is somehow odd we will basically double the active series during deployments as all ingesters will eventually not be active (during restarted we flip to LEAVING, PENDINGandJOINING`)
I see this feature as a way to prevent errors in case of impaired ingesters, and as such, i think makes way more sense to only extend the writes if the ingester is marked as UNHEALTHY on the ring. In other words, In cases such as deployments, we should not extend the writes.
@yeya24 @friedrich-at-adobe Thoughts?
Additional context
Currently, if we set
-distributor.extend-writesto true, distributors will send the series to one extra ingester if some ingester is NOT onACTIVE. See the doc:This behavior is somehow odd we will basically double the active series during deployments as all ingesters will eventually not be active (during restarted we flip to
LEAVING,PENDINGandJOINING`)I see this feature as a way to prevent errors in case of impaired ingesters, and as such, i think makes way more sense to only extend the writes if the ingester is marked as
UNHEALTHYon the ring. In other words, In cases such as deployments, we should not extend the writes.@yeya24 @friedrich-at-adobe Thoughts?