-
Notifications
You must be signed in to change notification settings - Fork 302
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
DAOS-16693 telemetry: Avoid race between init/read (#15306) #15322
Conversation
In rare cases, a reader may attempt to access a telemetry node after it has been added to the tree, but before it has been fully initialized. Use an atomic to prevent reads before the initialization has completed. Unlucky readers will get a -DER_AGAIN instead of crashing. Signed-off-by: Michael MacDonald <[email protected]>
Ticket title is 'Race between add_metric() and d_tm_get_* causes segfaults' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Is this a clean cherry-pick?
Yep, just added the label. |
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-15322/2/testReport/ |
a351d85
to
6e760d1
Compare
Skip-nlt: true Allow-unstable-test: true Required-githooks: true Change-Id: I65b221ee67f200c26e975021d91fa9c6750dfb9b
6e760d1
to
b30eb74
Compare
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15322/5/execution/node/1351/log |
Skipped NLT due to known problems with it on the branch. There was one hw-medium test failure that appears to be due to hardware issues:
This already passed tests on master; I don't see a whole lot of point in grinding away to get it to pass on this branch. Tagging @daos-stack/daos-gatekeeper for forced landing. |
In rare cases, a reader may attempt to access a telemetry
node after it has been added to the tree, but before it
has been fully initialized. Use an atomic to prevent
reads before the initialization has completed. Unlucky
readers will get a -DER_AGAIN instead of crashing.
Signed-off-by: Michael MacDonald [email protected]