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

Fix data race in StorageFile #34113

Merged
merged 3 commits into from
Jan 31, 2022
Merged

Fix data race in StorageFile #34113

merged 3 commits into from
Jan 31, 2022

Conversation

Avogar
Copy link
Member

@Avogar Avogar commented Jan 28, 2022

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix possible data race in StorageFile that was introduced in #33960. Closes #34111

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Jan 28, 2022
@tavplubix
Copy link
Member

Stateful tests (ubsan, actions) and Stateless tests (ubsan, actions) failures are related: has_peekable_read_buffer_from_fd is not initialized if peekable_read_buffer_from_fd is false

@tavplubix
Copy link
Member

Stress test (thread, actions) - segfault without stacktrace

@tavplubix tavplubix merged commit a9d0beb into ClickHouse:master Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data race in StorageFile::read
3 participants