You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-06-13 16:01:32 +03:00
Revert "This commit fixes an incorrect predicate in the if condition (#2608)"
This reverts commit f4e3022fbd
.
The commit apparently caused MCOL-5318 and MCOL-5319 which involve the
internal ColumnStore batch insert mechanism passing through the SQL
layer. The code block involved in this change is a predicate checking
for the HWM extent in WriteEngineServer at the end of the batch insert.
This is done in WE_DMLCommandProc::processBatchInsertHwm(). The original
predicate check in this function for the HWM extent is restored until
further investigation.
This commit is contained in:
@ -2424,7 +2424,7 @@ uint8_t WE_DMLCommandProc::processBatchInsertHwm(messageqcpp::ByteStream& bs, st
|
||||
if ((aIt->partNum > aExtentInfo.fPartition) ||
|
||||
((aIt->partNum == aExtentInfo.fPartition) && (aIt->segNum > aExtentInfo.fSegment)) ||
|
||||
((aIt->partNum == aExtentInfo.fPartition) && (aIt->segNum == aExtentInfo.fSegment) &&
|
||||
(aIt->hwm > aExtentInfo.fLocalHwm)))
|
||||
(aIt->segNum > aExtentInfo.fLocalHwm)))
|
||||
{
|
||||
aExtentInfo.fPartition = aIt->partNum;
|
||||
aExtentInfo.fDbRoot = aIt->dbRoot;
|
||||
|
Reference in New Issue
Block a user