Skip to content
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

[20.10 backport] awslogs: fix non-blocking log drop bug #45349

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

PettitWesley
Copy link
Contributor

@PettitWesley PettitWesley commented Apr 17, 2023

Previously, the AWSLogs driver attempted to implement non-blocking itself. Non-blocking is supposed to
implemented solely by the Docker RingBuffer that
wraps the log driver.

Please see issue and explanation here:
#45217

Signed-off-by: Wesley Pettit wppttt@amazon.com
(cherry picked from commit c8f8d11)

This fix has been tested and proven to reduce log loss as shown here: #45217 (comment)

We agreed to backport it here, where it was merged into master: #45227 (comment)

@thaJeztah thaJeztah changed the title awslogs: fix non-blocking log drop bug [backport 20.10] [20.10 backport] awslogs: fix non-blocking log drop bug Apr 17, 2023
@thaJeztah thaJeztah added this to the 20.10.25 milestone Apr 17, 2023
@PettitWesley PettitWesley marked this pull request as draft April 17, 2023 20:27
@PettitWesley PettitWesley force-pushed the awslogs-non-blocking-bug-20.10 branch from 56a931b to 6a2ad97 Compare April 17, 2023 20:30
@PettitWesley PettitWesley marked this pull request as ready for review April 17, 2023 20:31
Previously, the AWSLogs driver attempted to implement
non-blocking itself. Non-blocking is supposed to
implemented solely by the Docker RingBuffer that
wraps the log driver.

Please see issue and explanation here:
moby#45217

Signed-off-by: Wesley Pettit <wppttt@amazon.com>
(cherry picked from commit c8f8d11)
@PettitWesley PettitWesley force-pushed the awslogs-non-blocking-bug-20.10 branch from 6a2ad97 to ad45ece Compare April 17, 2023 20:33
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

@neersighted neersighted merged commit ac1cd04 into moby:20.10 Apr 20, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants