-
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-31003 Move instead of copying objects to improve performance #19371
base: master
Are you sure you want to change the base?
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-31003 Jirabot Action Result: |
400c403
to
085868d
Compare
system/jlib/jstats.cpp
Outdated
@@ -2242,7 +2242,7 @@ class CStatisticCollection : public CInterfaceOf<IStatisticCollection> | |||
++scopeItem; | |||
} | |||
|
|||
CStatisticCollection * tgtScopeCollection = ensureSubScopePath(path); | |||
CStatisticCollection * tgtScopeCollection = ensureSubScopePath(std::move(path)); |
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.
More efficient is to change the prototype of ensureSubScopePath:
CStatisticCollection * ensureSubScopePath(const std::initializer_list<const StatsScopeId> & path)
Core file trace says:
|
Signed-off-by: Shamser Ahmed <[email protected]>
Signed-off-by: Shamser Ahmed <[email protected]>
After the new commit 1hour ago, is the failure different? The context of crash from the most recent run is below. roxie logging crash [from (roxie, [m-q]*.ecl) (pull_request)]:
|
@ghalliday - could the issue that https://hpccsystems.atlassian.net/browse/HPCC-33122 resolves be involved here? |
Spoke to Gavin earlier about this. It is almost certainly this issue. In master, until #19362 is merged, roxie may hit errors like this whilst loading queries in the regression suite. |
Type of change:
Checklist:
Smoketest:
Testing: