An application-level flag such as -distributor.max-inflight-bytes can protect distributors from being OOMKilled when segment writers experience slowdowns or outages.
Prior art:
Should be opt-in and apply for both the regular (sync) and the async write path.
An application-level flag such as
-distributor.max-inflight-bytescan protect distributors from beingOOMKilledwhen segment writers experience slowdowns or outages.Prior art:
-distributor.instance-limits.max-inflight-push-requests(-bytes), enforced at distributor.go#L1443-distributor.max-inflight-bytes, enforced at distributor.go#L661-L669Should be opt-in and apply for both the regular (sync) and the async write path.