1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-18 13:54:11 +03:00

Added more complete IOC::write logic fixed metadata bug started IOC::append.

This commit is contained in:
Ben Thompson
2019-04-04 16:53:11 -05:00
parent 806bf6365d
commit 4ec8e12266
5 changed files with 181 additions and 52 deletions

View File

@@ -7,6 +7,8 @@
#include <sys/types.h>
#include <stdint.h>
#define JOURNAL_ENTRY_HEADER_SIZE 16
namespace storagemanager
{
@@ -28,7 +30,7 @@ class Replicator
};
int addJournalEntry(const char *filename, const uint8_t *data, off_t offset, size_t length);
int newObject(const char *filename, const uint8_t *data, size_t length);
int newObject(const char *filename, const uint8_t *data, off_t offset, size_t length);
int remove(const char *filename, Flags flags = NONE);
int remove(const boost::filesystem::path &file, Flags flags = NONE);
@@ -39,6 +41,7 @@ class Replicator
Config *mpConfig;
SMLogging *mpLogger;
std::string msJournalPath;
std::string msCachePath;
//ThreadPool threadPool;
};