This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Multiple data races in HC #236
Comments
I think this data race appears when concurrently accessing the API for a subnet. I think your fix here solves part of it. The other part is reviewing the purpose of this lock. I think in many cases the lock you introduced and this lock are redundant. Initially its purpose was to lock the manager when something had to be written, but now that we have the low-level subnet lock I don't think this one is necessary anymore. Do you mind having a look at it before merging the reconfiguration PR? We can look at it together sync if needed. |
After this commit I haven't seen new data races. |
Unfortunately, that is not true - #240 (comment) |
Reproduced after switching to Go 1.18.
|
Fixed another bug - 6fe14f2 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Multiple data races found during tests
The text was updated successfully, but these errors were encountered: