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-994 handle a second abbreviated extent in case it moved dbroots because of redistribute remove.
This commit is contained in:
@ -188,7 +188,13 @@ int ColumnOpCompress1::expandAbbrevColumnExtent(
|
||||
IDBDataFile* pFile, uint16_t dbRoot, uint64_t emptyVal, int width)
|
||||
{
|
||||
// update the uncompressed initial chunk to full chunk
|
||||
RETURN_ON_ERROR(m_chunkManager->expandAbbrevColumnExtent(pFile, emptyVal, width));
|
||||
int rc = m_chunkManager->expandAbbrevColumnExtent(pFile, emptyVal, width);
|
||||
// ERR_COMP_FILE_NOT_FOUND is acceptable here. It just means that the
|
||||
// file hasn't been loaded into the chunk manager yet. No big deal.
|
||||
if (rc != NO_ERROR && rc != ERR_COMP_FILE_NOT_FOUND)
|
||||
{
|
||||
return rc;
|
||||
}
|
||||
|
||||
// let the base to physically expand extent.
|
||||
return FileOp::expandAbbrevColumnExtent(pFile, dbRoot, emptyVal, width);
|
||||
|
Reference in New Issue
Block a user