-
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-31895 Fix deserialization and merging of nested stats #18724
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31895 Jirabot Action Result: |
All stats deserialized by the thor manager from workers should be set rather than merged. I found that the nested stats were being merged rather than set, causing multiple counting of nested stats. The PR fixes this issue. Note that the local execute time for nested functions in a parallel project will be longer than the execute time for parent activity/subgraph. This is because each thread in the parallel project would be making a call to the nested function and the nested function’s execute time will be the sum of the execute time for all the threads. (The local project does have a stat NumParallel that may be used to determine if the larger execute time for nested functions is reasonable.) |
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 can you target to 9.4.x
That is where the original (misplaced) fix was: https://github.com/hpcc-systems/HPCC-Platform/pull/18428/files
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.
Did you rebase onto an out of date 9.4.x?
Line 2733 is currently
ensureNested().deserialize(in);
and needs to change back to deserializeMerge.
Signed-off-by: Shamser Ahmed <[email protected]>
004fa04
into
hpcc-systems:candidate-9.4.x
Type of change:
Checklist:
Smoketest:
Testing: