Skip to content

Fix stress test after #40420#40608

Merged
kssenii merged 4 commits intomasterfrom
kssenii-patch-4
Aug 26, 2022
Merged

Fix stress test after #40420#40608
kssenii merged 4 commits intomasterfrom
kssenii-patch-4

Conversation

@kssenii
Copy link
Copy Markdown
Member

@kssenii kssenii commented Aug 25, 2022

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Broken in #40420.

@robot-ch-test-poll robot-ch-test-poll added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 25, 2022
@kssenii
Copy link
Copy Markdown
Member Author

kssenii commented Aug 26, 2022

Screenshot 2022-08-26 at 12 50 43

@azat
Copy link
Copy Markdown
Member

azat commented Aug 26, 2022

@kssenii But is this enough to fix the data-race (#40643 (comment)) ? there is still no lock for FileSegment::range()

@kssenii
Copy link
Copy Markdown
Member Author

kssenii commented Aug 26, 2022

@azat, yes, because cache->getSnapshot() will lock cache->mutex inside before doing FileSegment::range()

@alesapin alesapin self-assigned this Aug 26, 2022
@kssenii
Copy link
Copy Markdown
Member Author

kssenii commented Aug 26, 2022

Screenshot 2022-08-26 at 22 53 53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants