Skip to content

out_forward: document the handling of a failed ack - #722

Open
SahinurDEV wants to merge 1 commit into
fluent:1.0from
SahinurDEV:out-forward-failed-ack
Open

SahinurDEV wants to merge 1 commit into
fluent:1.0from
SahinurDEV:out-forward-failed-ack

Conversation

@SahinurDEV

Copy link
Copy Markdown

This documents the out_forward changes in fluent/fluentd#5627 for a failed ack with require_ack_response (fluent/fluentd#5619):

  • require_ack_response: what happens when the ack of a chunk fails. If another available server with a positive weight can take the chunk, the server whose ack failed is detached for at least recover_wait (10 seconds by default) and the chunk goes to the other servers, a standby server if needed, without counting a retry. Before this change, a transport heartbeat could bring the server back at the next heartbeat. If no other server can take the chunk, the last available server is kept, and a retry is counted with AckResponseError, so retry_wait, retry_max_times, retry_timeout and <secondary> apply. A late ack failure after the delayed commit timeout has rolled the chunk back does not count a second retry.
  • recover_wait: it now also applies after a failed ack.
  • heartbeat_type none: servers are always regarded as available, except that a server whose ack failed is kept out for recover_wait while another server can take its chunks. A standby server is used in the meantime.

fluent/fluentd#5627 is not merged yet, so this should be merged after it is released. Please let me know which version to put in the text then, or if you prefer a version note here.

Describe what fluent/fluentd#5627 changes when the ack of a chunk fails:
the server is detached for recover_wait while another server can take the
chunk (a standby server is used if needed), the last available server is
kept and a retry is counted with AckResponseError, and the behavior with
heartbeat_type none.

Signed-off-by: SahinurDEV <68515168+SahinurDEV@users.noreply.github.com>
@netlify

netlify Bot commented Nov 12, 2026

Copy link
Copy Markdown

👷 Deploy request for fluentd-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 211a95c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant