-
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-32626 Include details of the error code when roxie fails to read from an index #19085
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-32626 Jirabot Action Result: |
roxie/ccd/ccdfile.cpp
Outdated
E->Release(); | ||
OERRLOG("Failed to read length %d offset %" I64F "x file %s", len, pos, sources.item(activeIdx).queryFilename()); | ||
OERRLOG("Failed to read length %d offset %" I64F "x file %s [%s]", len, pos, sources.item(activeIdx).queryFilename(), msg.str); |
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.
Won't the EXCLOG just above have already included this information?
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.
Yes, but that goes to a debug audience, and is currently stripped out of the logs. This is an error designed to go to the operator, so will be included in log analytics etcs.
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.
Does it? I thought the first parameter MCoperatorError was the target audience, and I thought OERRLOG also went to operator error audience.
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.
So it does. Now I am confused why they claim it was not being reported....
bb758ec
to
ed84eef
Compare
… from an index Signed-off-by: Gavin Halliday <[email protected]>
ed84eef
to
0380d80
Compare
Pushed to remove the 1st log line, because it is more useful if all the details are in a single log line. |
Type of change:
Checklist:
Smoketest:
Testing: