You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4766 ROLLBACK kept ranges changed inside rolled back transaction
Now ROLLBACK drops ranges to INVALID state which makes engine to rescan blocks and discover correct ranges.
This commit is contained in:
@ -5004,7 +5004,7 @@ void WE_DDLCommandProc::purgeFDCache()
|
||||
}
|
||||
|
||||
cacheutils::purgePrimProcFdCache(files, Config::getLocalModuleID());
|
||||
fDbrm.invalidateUncommittedExtentLBIDs(0, &lbidList);
|
||||
fDbrm.invalidateUncommittedExtentLBIDs(0, false, &lbidList);
|
||||
}
|
||||
|
||||
TableMetaData::removeTableMetaData(SYSCOLUMN_BASE);
|
||||
|
@ -674,7 +674,7 @@ uint8_t WE_DMLCommandProc::processSingleInsert(messageqcpp::ByteStream& bs, std:
|
||||
cacheutils::purgePrimProcFdCache(files, Config::getLocalModuleID());
|
||||
|
||||
cacheutils::flushOIDsFromCache(oidsToFlush);
|
||||
fDbrm.invalidateUncommittedExtentLBIDs(0, &lbidList);
|
||||
fDbrm.invalidateUncommittedExtentLBIDs(0, false, &lbidList);
|
||||
|
||||
try
|
||||
{
|
||||
@ -3942,7 +3942,7 @@ uint8_t WE_DMLCommandProc::processFlushFiles(messageqcpp::ByteStream& bs, std::s
|
||||
//@Bug 5700. Purge FD cache after file swap
|
||||
cacheutils::purgePrimProcFdCache(files, Config::getLocalModuleID());
|
||||
cacheutils::flushOIDsFromCache(oidsToFlush);
|
||||
fDbrm.invalidateUncommittedExtentLBIDs(0, &lbidList);
|
||||
fDbrm.invalidateUncommittedExtentLBIDs(0, false, &lbidList);
|
||||
}
|
||||
|
||||
//cout << "Purged files.size:moduleId = " << files.size() << ":"<<Config::getLocalModuleID() << endl;
|
||||
|
Reference in New Issue
Block a user