Skip to content

test_out_forward: remove unnecessary ack_response_timeout setting - #4685

Merged
daipom merged 2 commits into
fluent:masterfrom
Watson1978:fix-no_nodes_available
Oct 29, 2024
Merged

test_out_forward: remove unnecessary ack_response_timeout setting#4685
daipom merged 2 commits into
fluent:masterfrom
Watson1978:fix-no_nodes_available

Conversation

@Watson1978

@Watson1978 Watson1978 commented Oct 28, 2024

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:
Fixes #4684

What this PR does / why we need it:
Seems that timeout setting is short in ack_response_timeout.
Seems that It may take some time to receive a ACK response
so the process in ack handler has expired and the node is disabled.

This PR will remove unnecessary ack_response_timeout settings for the test

Docs Changes:

Release Note:

Seems that timeout setting is short in ack_response_timeout.
Seems that It may take some time to receive a ACK response
so the process in ack handler has expired and the node is disabled.

Signed-off-by: Watson <fujita@clear-code.com>
@Watson1978
Watson1978 marked this pull request as ready for review October 28, 2024 00:51
@daipom
daipom self-requested a review October 28, 2024 06:52
@daipom

daipom commented Oct 28, 2024

Copy link
Copy Markdown
Contributor

There are still some unclear points for me:

#4684 (comment)

@daipom

daipom commented Oct 29, 2024

Copy link
Copy Markdown
Contributor

Thanks for this enhancement!
Now, the issue is clear to me (#4684).

Indeed, the timeout is short.

How about removing the timeout setting?

Both this setting and the following setting would be unnecessary for the tests.

a node supporting responses after stop

ack_response_timeout 10s

How about removing these 2 setting?

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 changed the title test_out_forward: relax an ack_response_timeout test_out_forward: remove unnecessary ack_response_timeout setting Oct 29, 2024

@daipom daipom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM!

@daipom
daipom merged commit 17005d5 into fluent:master Oct 29, 2024
@Watson1978
Watson1978 deleted the fix-no_nodes_available branch October 29, 2024 08:03
@daipom daipom added the backport to v1.16 We will backport this fix to the LTS branch label Nov 29, 2024
@daipom daipom added the CI Test/CI issues label Jan 28, 2025
@daipom daipom added this to the v1.18.0 milestone Jan 28, 2025
kenhys pushed a commit that referenced this pull request Jan 29, 2025
)

Seems that timeout setting is short in ack_response_timeout.
Seems that It may take some time to receive a ACK response
so the process in ack handler has expired and the node is disabled.

Signed-off-by: Watson <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
daipom pushed a commit that referenced this pull request Jan 29, 2025
…eout setting (#4685) (#4791)

**Which issue(s) this PR fixes**: 

Backport #4685 

**What this PR does / why we need it**: 

Seems that timeout setting is short in ack_response_timeout.
Seems that It may take some time to receive a ACK response
so the process in ack handler has expired and the node is disabled.

This PR will remove unnecessary ack_response_timeout settings for the
test

**Docs Changes**:

**Release Note**:

Signed-off-by: Watson <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Co-authored-by: Watson <fujita@clear-code.com>
@kenhys kenhys added the backported "backport to LTS" is done label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to v1.16 We will backport this fix to the LTS branch backported "backport to LTS" is done CI Test/CI issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Fails with "Fluent::Plugin::ForwardOutput::NoNodesAvailable: no nodes are available"

3 participants