Skip to content

CXXCBC-660: Fix potential race condition in the logger#722

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

CXXCBC-660: Fix potential race condition in the logger#722
avsej merged 1 commit intocouchbase:mainfrom
avsej: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.

All code paths must use update_file_logger to ensure thread safety. The
create_file_logger just updated the logger pointer without incrementing
version.
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 9fd636e into couchbase:main Feb 25, 2025
@avsej avsej deleted the CXXCBC-660-fix-logger-race branch February 25, 2025 20:20
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