1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-2055 Fix. Flush PrimProc Cache during batchinserts

This commit is contained in:
Jose Rojas
2020-12-02 17:10:20 +00:00
parent 84fb821c47
commit 69550cbe78

View File

@ -1681,6 +1681,13 @@ int WriteEngineWrapper::insertColumnRecs(const TxnID& txnid,
// Write row(s) to database file(s)
//----------------------------------------------------------------------
rc = writeColumnRec(txnid, cscColTypeList, colStructList, colOldValueList, rowIdArray, newColStructList, colNewValueList, tableOid, useTmpSuffix); // @bug 5572 HDFS tmp file
if (rc == NO_ERROR)
{
rc = cacheutils::flushPrimProcCache();
if (rc != 0)
rc = ERR_BLKCACHE_FLUSH_LIST; // translate to WE error
}
}
return rc;