1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00

Fixed an old bug in the HDFS code in the BRM. Journal file supposed

to be opened for appending.
This commit is contained in:
Patrick LeBlanc
2019-07-29 14:26:13 -05:00
parent fa1ad8faca
commit 8190e44d1f

View File

@ -143,7 +143,7 @@ SlaveComm::SlaveComm(string hostname, SlaveDBRMNode* s) :
if (true || IDBPolicy::useHdfs())
{
journalh = IDBDataFile::open(
IDBPolicy::getType(filename, IDBPolicy::WRITEENG), filename, "w+b", 0);
IDBPolicy::getType(filename, IDBPolicy::WRITEENG), filename, "a", 0);
}
else
{