Merge pull request #2923 from satherton/reenable-art

Re-enable ART mutation buffer in Redwood.
This commit is contained in:
Meng Xu 2020-04-07 13:16:50 -07:00 committed by GitHub
commit d6b0aefc89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3290,7 +3290,7 @@ private:
public:
//#include "ArtMutationBuffer.h"
#include "ArtMutationBuffer.h"
struct MutationBufferStdMap {
MutationBufferStdMap() {
// Create range representing the entire keyspace. This reduces edge cases to applying mutations
@ -3388,7 +3388,7 @@ public:
}
};
//#define USE_ART_MUTATION_BUFFER 1
#define USE_ART_MUTATION_BUFFER 1
#ifdef USE_ART_MUTATION_BUFFER
typedef struct MutationBufferART MutationBuffer;
@ -5006,7 +5006,7 @@ private:
};
//#include "art_impl.h"
#include "art_impl.h"
RedwoodRecordRef VersionedBTree::dbBegin(StringRef(), 0);
RedwoodRecordRef VersionedBTree::dbEnd(LiteralStringRef("\xff\xff\xff\xff\xff"));