-
Notifications
You must be signed in to change notification settings - Fork 438
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
race condition in attributes_hashmap_benchmark #1542
Comments
Thanks for debugging it :) |
one more here:
|
This was referenced Aug 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a race condition in
attributes_hashmap_benchmark
:hash_map.GetOrSetDefault
returns a pointer to anAggregation
(DropAggregation
), for this type it should be ok as we have no read/write. But for some other type, the reads are not protected see for example:std::unique_ptr<Aggregation> LongSumAggregation::Merge
std::unique_ptr<Aggregation> LongSumAggregation::ToPoint
We need to review reads/writes for all the aggregations.
The text was updated successfully, but these errors were encountered: