-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v24.1.x] Keep producer inflight requests queue bounded #23746
[v24.1.x] Keep producer inflight requests queue bounded #23746
Conversation
Idempotent producers are allowed to produce up to 5 at a time, the five requests outcome is cached in the producer for deduplication. Previously the `_inflight_requests` list might grow unbounded if state machine apply was lagging. This causes performance issues and unnecessary memory pressure. Since the max inflight requests count is limited by producer it is enough to keep only last 5 inflight requests in the `_inflight_requests` list. Signed-off-by: Michał Maślanka <michal@redpanda.com> (cherry picked from commit 755a890)
the below tests from https://buildkite.com/redpanda/redpanda/builds/56333#01927aa3-fcbc-48a3-acff-052bbd99d73a have failed and will be retried
the below tests from https://buildkite.com/redpanda/redpanda/builds/57974#019321c7-4e8d-4957-a814-705475128b44 have failed and will be retried
|
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56333#01927ae0-51b6-4b72-b6bf-2296ea352121:
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56333#01927ae1-317e-45e7-9bfe-c006e33f5696:
|
Retry command for Build#56333please wait until all jobs are finished before running the slash command
|
b7bae63
to
e8dcf98
Compare
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/57974#0193220c-9e19-4d88-a5b1-42bf76620b37 |
Backport of PR #23692