From 2611a11fa735059681f4b42bdcec7ff2453d5e0b Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Mon, 24 Jun 2024 19:04:04 +0100 Subject: [PATCH] temp --- thorlcr/activities/thactivityutil.cpp | 2 +- thorlcr/thorutil/thbuf.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/thorlcr/activities/thactivityutil.cpp b/thorlcr/activities/thactivityutil.cpp index ee7283f2f05..f1a2fdd2c53 100644 --- a/thorlcr/activities/thactivityutil.cpp +++ b/thorlcr/activities/thactivityutil.cpp @@ -218,7 +218,7 @@ class CRowStreamLookAhead : public CSimpleInterfaceOf count = 0; newLookAhead = activity.getOptBool("newlookahead", false); - if (activity.getOptBool("forcenewlookahead", false)) + if (activity.getOptBool("forcenewlookahead", true)) // JCSMORE - temporarily force newlookahead { newLookAhead = true; allowspill = true; diff --git a/thorlcr/thorutil/thbuf.cpp b/thorlcr/thorutil/thbuf.cpp index 90ef4f99e07..eac053cd854 100644 --- a/thorlcr/thorutil/thbuf.cpp +++ b/thorlcr/thorutil/thbuf.cpp @@ -613,7 +613,7 @@ class CSmartRowInMemoryBuffer: public CSimpleInterface, implements ISmartRowBuff // based on query that produces records with a single sequential (from 1) unsigned4 // #define VERIFY_ROW_IDS_SPILLING_ROWSTREAM -//#define STRESSTEST_SPILLING_ROWSTREAM // 'stressLookAhead' code, which when enabled, reduces buffer sizes etc. to stress test the lookahead spilling +#define STRESSTEST_SPILLING_ROWSTREAM // 'stressLookAhead' code, which when enabled, reduces buffer sizes etc. to stress test the lookahead spilling @@ -979,7 +979,7 @@ class CCompressedSpillingRowStream: public CSimpleInterfaceOf, size32_t minSize = meta->getMinRecordSize(); #ifdef STRESSTEST_SPILLING_ROWSTREAM - stressTest = activity.getOptBool("stressLookAhead"); + stressTest = activity.getOptBool("stressLookAhead", true); // JCSMORE temporarily defaulting to true if (stressTest) { options.inMemMaxMem = minSize * 4;