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-454 I_S.COLUMNSTORE_FILES multi-node
I_S.COLUMNSTORE_FILES returned bad filenames and NULL file sizes when there are multiple nodes in a ColumnStore cluster It adds an extra message call to the WriteEngine to get the file size for that file. The I_S function will figure out which WriteEngine to communicate with and get the file size details from it.
This commit is contained in:
@ -733,6 +733,11 @@ void GetFileSizeThread::operator()()
|
||||
rc = fWeGetFileSizes->processTable(fIbs, errMsg, key);
|
||||
break;
|
||||
}
|
||||
case WE_SVR_GET_FILESIZE:
|
||||
{
|
||||
rc = fWeGetFileSizes->processFileName(fIbs, errMsg, key);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
break;
|
||||
@ -845,6 +850,7 @@ void ReadThreadFactory::CreateReadThread(ThreadPool& Tp, IOSocket& Ios, BRM::DBR
|
||||
}
|
||||
break;
|
||||
case WE_SVR_GET_FILESIZES:
|
||||
case WE_SVR_GET_FILESIZE:
|
||||
{
|
||||
GetFileSizeThread getFileSizeThread(Ios, aBs, dbrm);
|
||||
Tp.invoke(getFileSizeThread);
|
||||
|
Reference in New Issue
Block a user