-
Notifications
You must be signed in to change notification settings - Fork 292
CP-27343: SR probe: add clustering lock, assert cluster_host enabled #3542
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
CP-27343: SR probe: add clustering lock, assert cluster_host enabled #3542
Conversation
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.
Looks reasonable to me but I'd like somebody with more context to have a look. Ping @edwintorok @gaborigloi
Why coveralls keeps messing the count? |
I don't know how coveralls works, but is it possible that local opens contribute significantly? |
I don't think that's the issue. We have seen it happen in multiple PRs lately, even in ones where we ehere deleting lots of code |
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.
This looks good, but please submit the PR to the feature/REQ477/probe branch where we collect the changes for probe_ext API, otherwise we will have conflicts as it touches the same code.
2ae796b
to
dc35b09
Compare
f304da3
to
e6e7dc2
Compare
@minishrink please rebase there are too many commits in the PR, which means you probably have some duplicate commits that are already on the probe branch but with a different hash. |
dc35b09
to
cd7bd61
Compare
e6e7dc2
to
42f3b9f
Compare
Signed-off-by: Akanksha Mathur <akanksha.mathur@citrix.com>
cd7bd61
to
ccfee3c
Compare
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.
Thanks, looks good now
…3542) Signed-off-by: Akanksha Mathur <akanksha.mathur@citrix.com>
Xapi_sr.call_probe
(called by bothSR.probe
andSR.probe_ext
) in a clustering lock in case the SR is in use elsewhere to prevent database inconsistencyStorage_interface
andStorage_access
Signed-off-by: Akanksha Mathur akanksha.mathur@citrix.com