Skip to content

Commit

Permalink
HPCC-30599 Use ctx instead of activeCtx for CKeyLevelManager mergeStats
Browse files Browse the repository at this point in the history
Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed Dec 19, 2023
1 parent bc4325a commit 49e931e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/jhtree/jhtree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ class jhtree_decl CKeyLevelManager : implements IKeyManager, public CInterface
// IO Stats coming from the keyCursor and jhtree cache stats coming from this class's stats
if (keyCursor)
keyCursor->mergeStats(targetStats); // merge IO stats
if (activeCtx)
targetStats.merge(activeCtx->queryStats()); // merge jhtree cache stats
if (ctx)
targetStats.merge(ctx->queryStats()); // merge jhtree cache stats
}
};

Expand Down

0 comments on commit 49e931e

Please sign in to comment.