Skip to content
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-9632 - Uninitialized lastCycles #4604

Merged
merged 1 commit into from Jul 9, 2013

Conversation

jakesmith
Copy link
Member

'lastCycles' was left uninitialized until sink processes started
If the progress serialization requested timings before the sink
had started, totalMaxMs/totalMinMs timinigs would be wrong

Signed-off-by: Jake Smith jake.smith@lexisnexis.com

@hpcc-jirabot
Copy link

Jira not updated (state was not active)

@jakesmith
Copy link
Member Author

@richardkchapman - please review

@@ -52,6 +52,7 @@
ProcessSlaveActivity::ProcessSlaveActivity(CGraphElementBase *container) : CSlaveActivity(container), threaded("ProcessSlaveActivity", this)
{
processed = 0;
lastCycles = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message says it is totalCycles that was uninitialized...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected commit message.

'lastCycles' was left uninitialized until sink processes started
If the progress serialization requested timings before the sink
had started, totalMaxMs/totalMinMs timinigs would be wrong

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
richardkchapman added a commit that referenced this pull request Jul 9, 2013
HPCC-9632 - Uninitialized lastCycles

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
@richardkchapman richardkchapman merged commit ffdec2f into hpcc-systems:closedown-4.0.x Jul 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants