You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +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)
|
if (rc == NO_ERROR)
|
||||||
{
|
{
|
||||||
rc = cacheutils::flushPrimProcCache();
|
if (dctnryStructList.size() > 0)
|
||||||
if (rc != 0)
|
{
|
||||||
rc = ERR_BLKCACHE_FLUSH_LIST; // translate to WE error
|
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;
|
return rc;
|
||||||
|
Reference in New Issue
Block a user