You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-27 21:01:50 +03:00
The BRM structs aren't using IDBDataFile consistently.
Testing whether forcing them to use IDBDataFiles breaks anything.
This commit is contained in:
@ -153,7 +153,7 @@ void OIDServer::writeData(uint8_t* buf, off_t offset, int size) const
|
||||
if (size == 0)
|
||||
return;
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
{
|
||||
for (errCount = 0; errCount < MaxRetries && seekerr != offset; errCount++)
|
||||
{
|
||||
@ -231,7 +231,7 @@ void OIDServer::readData(uint8_t* buf, off_t offset, int size) const
|
||||
if (size == 0)
|
||||
return;
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
{
|
||||
for (errCount = 0; errCount < MaxRetries && seekerr != offset; errCount++)
|
||||
{
|
||||
@ -379,7 +379,7 @@ OIDServer::OIDServer() : fFp(NULL), fFd(-1)
|
||||
throw runtime_error(os.str());
|
||||
}
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
{
|
||||
if (!IDBPolicy::exists(fFilename.c_str())) //no bitmap file
|
||||
{
|
||||
@ -611,7 +611,7 @@ retry:
|
||||
{
|
||||
writeData(buf, offset, byteSize);
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
fFp->flush();
|
||||
|
||||
delete [] buf;
|
||||
@ -658,7 +658,7 @@ retry:
|
||||
{
|
||||
writeData(buf, offset, byteSize);
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
fFp->flush();
|
||||
|
||||
delete [] buf;
|
||||
@ -780,7 +780,7 @@ void OIDServer::patchFreelist(struct FEntry* freelist, int start, int num) const
|
||||
{
|
||||
writeData(reinterpret_cast<uint8_t*>(freelist), 0, HeaderSize);
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
fFp->flush();
|
||||
}
|
||||
}
|
||||
@ -808,7 +808,7 @@ int OIDServer::allocVBOID(uint16_t dbroot)
|
||||
throw;
|
||||
}
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
fFp->flush();
|
||||
|
||||
return ret;
|
||||
@ -882,7 +882,7 @@ int OIDServer::allocOIDs(int num)
|
||||
writeData(reinterpret_cast<uint8_t*>(freelist), 0, HeaderSize);
|
||||
flipOIDBlock(bestMatchBegin, num, 0);
|
||||
|
||||
if (IDBPolicy::useHdfs())
|
||||
if (true || IDBPolicy::useHdfs())
|
||||
fFp->flush();
|
||||
|
||||
return bestMatchBegin;
|
||||
|
Reference in New Issue
Block a user