Skip to content

Commit

Permalink
Merge pull request #18102 from ghalliday/issue30954
Browse files Browse the repository at this point in the history
HPCC-30954 Only record numStrands statistic if stranding in use

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
  • Loading branch information
ghalliday authored Dec 7, 2023
2 parents 47db54d + b1ed6de commit 4cecb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roxie/ccd/ccdserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ class CRoxieServerActivity : implements CInterfaceOf<IRoxieServerActivity>, impl
if (statsBuilder)
{
StatsEdgeScope scope(*statsBuilder, activityId, oid);
if (_strands)
if (_strands > 1)
statsBuilder->addStatistic(StNumStrands, _strands);
if (starts != 0)
{
Expand Down

0 comments on commit 4cecb83

Please sign in to comment.