-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Concurrent map iteration and map write #3454
Comments
Do you have the full stack trace? If so would you mind adding it to this issue |
Ok, just remember, you asked for it. 😄 Here are the 1200+ lines of stack trace from the syslog:
|
Fixes #3454 Reliably reproduced the data race before by having a fingerprinter change the nodes attributes every millisecond and syncing at the same rate. With fix, did not ever panic.
@joliver Thanks for the report. Will be fixed in 0.7.0 |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
v0.7.0-rc1
Operating system and Environment details
Ubuntu 16.04 amd64
Issue
It looks like one of the dependencies in Nomad doesn't properly lock around iterating/writing to a map at the same time.
Reproduction steps
This occurred during a time when network connectivity to the machine in question was unavailable.
Nomad Server logs (if appropriate)
The text was updated successfully, but these errors were encountered: