GC improvements

This commit is contained in:
Doug Hoyte
2023-01-29 15:52:27 -05:00
parent ee612416e0
commit 5117485ebf
7 changed files with 62 additions and 26 deletions

View File

@ -5,6 +5,7 @@
#include "events.h"
#include "filters.h"
#include "gc.h"
static const char USAGE[] =
@ -59,6 +60,7 @@ void cmd_import(const std::vector<std::string> &subArgs) {
logStatus();
LI << "Committing " << numCommits << " records";
txn.commit();
txn = env.txn_rw();
@ -91,5 +93,7 @@ void cmd_import(const std::vector<std::string> &subArgs) {
flushChanges();
quadrableGarbageCollect(qdb, 2);
txn.commit();
}