-
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-32823 Add time waiting for git lock to the workunit stats #19250
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-32823 Jirabot Action Result: |
@jakesmith again, not sure which version to target. Could easily move to master. |
Signed-off-by: Gavin Halliday <[email protected]>
I found a core generated by one of the Thor slave (SIGSEGV in CThorSorter::Gather() - HPCC-32774). I think it is not related to this change, but happened. |
@@ -676,6 +676,8 @@ unsigned __int64 EclRepositoryManager::getStatistic(StatisticKind kind) const | |||
{ | |||
case StTimeElapsed: | |||
return cycle_to_nanosec(gitDownloadCycles); | |||
case StTimeBlocked: | |||
return cycle_to_nanosec(gitDownloadBlockedCycles); |
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.
I am not sure the context of when this getStatistic is called, but should these counters really atomic's ?
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.
no, they are only called from a single thread.
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.
@ghalliday - 1 side-question, but looks good.
Jirabot Action Result: |
Type of change:
Checklist:
Smoketest:
Testing: