-
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-30994 Ensure jobId's removed from log manager in worker #18128
HPCC-30994 Ensure jobId's removed from log manager in worker #18128
Conversation
https://track.hpccsystems.com/browse/HPCC-30994 |
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.
A couple of questions - possibly recorded in the jira.
thorlcr/slave/thslavemain.cpp
Outdated
if (!slaveLogHandler) | ||
slaveLogHandler = startSlaveLog(); | ||
|
||
if (globals->getPropBool("@MPChannelReconnect")) |
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 like a different change.
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.
shouldn't be here - result of clash mismerge. Will remove.
@@ -385,12 +396,9 @@ int main( int argc, const char *argv[] ) | |||
usage(); | |||
|
|||
mySlaveNum = globals->getPropInt("@slavenum", NotFound); | |||
/* NB: in cloud/non-local storage mode, slave number is not known until after registration with the master |
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.
Is this comment no longer correct (I can't get to jira to check if you commented there).
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 part of the comment would have still been true, 2nd line was misleading.
The comment is now replaced with a more explicit check and exception (line 399-400)
@ghalliday - please see replies/new commit. |
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.
Please squash
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 please squash
Also set jobId earlier in containerized, meaning that some early logging is tagged with the correct jobId instead of "UNK". Signed-off-by: Jake Smith <[email protected]>
2e69068
to
4f87ea9
Compare
Also set jobId earlier in containerized, meaning that some early logging is tagged with the correct jobId instead of "UNK".
Type of change:
Checklist:
Smoketest:
Testing: