-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-31807 Remove stale job queue client entries #18781
HPCC-31807 Remove stale job queue client entries #18781
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31807 Jirabot Action Result: |
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.
@jakesmith approved, but one question just in case it is a potential issue.
common/workunit/wujobq.cpp
Outdated
IPropertyTree *croot = queryClientRootSession(*qd); | ||
croot->setPropInt64("@connected",croot->getPropInt64("@connected",0)-1); | ||
unsigned newConnectedCount = croot->getPropInt64("@connected",0)-1; |
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.
Could the clearStaleMetaData remove all items, and then a client call this code?
If so, newConnectedCount would be -1.
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.
that should never happen.
Dali is only clearing up when it loads, so there should implicitly no clients connected/no SDS connection.
But I've added a guard JIC
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.
Great, please squash.
Signed-off-by: Jake Smith <[email protected]>
c964156
to
3091b3d
Compare
done. |
0cdf803
into
hpcc-systems:candidate-9.4.x
Type of change:
Checklist:
Smoketest:
Testing: