Skip to content

Commit

Permalink
HPCC-33081 Roxie continuation cursor positions log msg should be a WA…
Browse files Browse the repository at this point in the history
…RNING

Signed-off-by: M Kelly <[email protected]>
  • Loading branch information
mckellyln committed Dec 5, 2024
1 parent 32e2bda commit 6640f0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roxie/ccd/ccdactivities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,8 @@ class CRoxieIndexActivity : public CRoxieKeyedActivity
compressToBuffer(compressed, si.length() - compressed.length(), si.toByteArray() + compressed.length());
bool report = logctx.queryTraceLevel() && (doTrace(traceRoxiePackets) || si.length() >= continuationWarnThreshold);
if (report)
logctx.CTXLOG("ERROR: continuation data size %u for %d cursor positions is large - compressed to %u", si.length(), tlk->numActiveKeys(), compressed.length());
logctx.CTXLOG("WARNING: continuation data size %u for %d cursor positions is large - compressed to %u", si.length(), tlk->numActiveKeys(), compressed.length());
// should we check if compressed.length() is > continuationErrorThreshold ?
siLen = compressed.length() - sizeof(siLen);
compressed.writeDirect(0, sizeof(siLen), &siLen);
output->sendMetaInfo(compressed.toByteArray(), compressed.length());
Expand Down Expand Up @@ -4130,7 +4131,8 @@ class CRoxieKeyedJoinIndexActivity : public CRoxieKeyedActivity
compressToBuffer(compressed, si.length() - compressed.length(), si.toByteArray() + compressed.length());
bool report = logctx.queryTraceLevel() && (doTrace(traceRoxiePackets) || si.length() >= continuationWarnThreshold);
if (report)
DBGLOG("ERROR: continuation data size %u for %d cursor positions is large - compressed to %u", si.length(), tlk->numActiveKeys(), compressed.length());
DBGLOG("WARNING: continuation data size %u for %d cursor positions is large - compressed to %u", si.length(), tlk->numActiveKeys(), compressed.length());
// should we check if compressed.length() is > continuationErrorThreshold ?
siLen = compressed.length() - sizeof(siLen);
compressed.writeDirect(0, sizeof(siLen), &siLen);
output->sendMetaInfo(compressed.toByteArray(), compressed.length());
Expand Down

0 comments on commit 6640f0c

Please sign in to comment.