Skip to content

[backport] CXXCBC-660: Fix potential race condition in the logger#723

Merged
avsej merged 1 commit intocouchbase:release-1.0from
avsej:release-1.0-CXXCBC-660-fix-logger-race
Feb 25, 2025
Merged

[backport] CXXCBC-660: Fix potential race condition in the logger#723
avsej merged 1 commit intocouchbase:release-1.0from
avsej:release-1.0-CXXCBC-660-fix-logger-race

Conversation

@avsej
Copy link
Copy Markdown
Member

@avsej avsej commented Feb 25, 2025

All code paths must use update_file_logger to ensure thread safety. The create_file_logger just updated the logger pointer without incrementing version.

Backport of #722

All code paths must use update_file_logger to ensure thread safety. The
create_file_logger just updated the logger pointer without incrementing
version.
@avsej avsej requested review from a team and thejcfactor February 25, 2025 18:47
Copy link
Copy Markdown
Contributor

@thejcfactor thejcfactor left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@avsej avsej merged commit 7e50742 into couchbase:release-1.0 Feb 25, 2025
@avsej avsej deleted the release-1.0-CXXCBC-660-fix-logger-race branch February 25, 2025 20:19
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.

2 participants