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

Checkpointing a bunch of edge-case fixes I made and mistakenly mushed

together with the cache size consistency code.
This commit is contained in:
Patrick LeBlanc
2019-07-02 11:12:29 -05:00
parent cca5e21c24
commit 2722da0b40
12 changed files with 160 additions and 53 deletions

View File

@@ -56,6 +56,7 @@ class MetadataFile
metadataObject addMetadataObject(const char *filename, size_t length);
bool getEntry(off_t offset, const metadataObject **out) const;
void removeEntry(off_t offset);
void removeAllEntries();
// TBD: this may have to go; there may be no use case where only the uuid needs to change.
static std::string getNewKeyFromOldKey(const std::string &oldKey, size_t length=0);