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
MCOL-2055. Only flush the oids from the primproc cache
This commit is contained in:
@ -1684,10 +1684,20 @@ int WriteEngineWrapper::insertColumnRecs(const TxnID& txnid,
|
||||
|
||||
if (rc == NO_ERROR)
|
||||
{
|
||||
rc = cacheutils::flushPrimProcCache();
|
||||
if (rc != 0)
|
||||
rc = ERR_BLKCACHE_FLUSH_LIST; // translate to WE error
|
||||
}
|
||||
if (dctnryStructList.size() > 0)
|
||||
{
|
||||
vector<BRM::OID_t> oids {static_cast<int32_t>(tableOid)};
|
||||
for (const DctnryStruct &dctnryStruct : dctnryStructList)
|
||||
{
|
||||
oids.push_back(dctnryStruct.dctnryOid);
|
||||
}
|
||||
|
||||
rc = flushOIDsFromCache(oids);
|
||||
|
||||
if (rc != 0)
|
||||
rc = ERR_BLKCACHE_FLUSH_LIST; // translate to WE error
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user