Skip to content

output windows: check shorter service timeout on shutdown#5286

Merged
Watson1978 merged 1 commit intofluent:masterfrom
kenhys:win-warn-flush-at-shutdown
Mar 26, 2026
Merged

output windows: check shorter service timeout on shutdown#5286
Watson1978 merged 1 commit intofluent:masterfrom
kenhys:win-warn-flush-at-shutdown

Conversation

@kenhys
Copy link
Copy Markdown
Contributor

@kenhys kenhys commented Mar 18, 2026

Which issue(s) this PR fixes:
Fixes #

What this PR does / why we need it:

When flush_at_shutdown was enabled, there is a case that buffer flush process takes longer time to be done. In such a case, if service timeout is too short, the fluentd process will be shutting down forcibly.

This commit warn in specific environment.

Docs Changes:

N/A

Release Note:

N/A

@kenhys kenhys force-pushed the win-warn-flush-at-shutdown branch 4 times, most recently from 89b929c to b6131c2 Compare March 18, 2026 09:37
@kenhys kenhys marked this pull request as ready for review March 19, 2026 02:03
@kenhys kenhys force-pushed the win-warn-flush-at-shutdown branch from b6131c2 to 1b7eeb5 Compare March 19, 2026 02:09
@kenhys
Copy link
Copy Markdown
Contributor Author

kenhys commented Mar 19, 2026

improved warning message

@kenhys kenhys force-pushed the win-warn-flush-at-shutdown branch from 0176b72 to 78ad235 Compare March 26, 2026 06:42
@kenhys kenhys force-pushed the win-warn-flush-at-shutdown branch from 1bb9330 to e9fa39c Compare March 26, 2026 07:30
When flush_at_shutdown was enabled, there is a case that
buffer flush process takes longer time to be done.
In such a case, if service timeout is too short, the fluentd
process will be shutting down forcibly.

This commit warn in specific environment.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys kenhys force-pushed the win-warn-flush-at-shutdown branch from e9fa39c to 3e9463f Compare March 26, 2026 08:23
Copy link
Copy Markdown
Contributor

@Watson1978 Watson1978 left a comment

Choose a reason for hiding this comment

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

👍🏻

@Watson1978 Watson1978 added this to the v1.20.0 milestone Mar 26, 2026
@kenhys kenhys added the backport to v1.19 We will backport this fix to the LTS branch label Mar 26, 2026
@Watson1978 Watson1978 merged commit 15a2589 into fluent:master Mar 26, 2026
20 of 21 checks passed
@kenhys kenhys deleted the win-warn-flush-at-shutdown branch March 26, 2026 09:29
github-actions bot pushed a commit that referenced this pull request Mar 29, 2026
**Which issue(s) this PR fixes**:
Fixes #

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

When flush_at_shutdown was enabled, there is a case that buffer flush
process takes longer time to be done. In such a case, if service timeout
is too short, the fluentd process will be shutting down forcibly.

This commit warn in specific environment.

**Docs Changes**:

N/A

**Release Note**:

N/A

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Watson1978 pushed a commit that referenced this pull request Mar 30, 2026
…tdown (#5286) (#5306)

**Which issue(s) this PR fixes**: 
Backport #5286
Fixes #

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

When flush_at_shutdown was enabled, there is a case that buffer flush
process takes longer time to be done. In such a case, if service timeout
is too short, the fluentd process will be shutting down forcibly.

This commit warn in specific environment.

**Docs Changes**:

N/A

**Release Note**: 

N/A

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kentaro Hayashi <hayashi@clear-code.com>
@Watson1978 Watson1978 added the backported "backport to LTS" is done label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to v1.19 We will backport this fix to the LTS branch backported "backport to LTS" is done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants