From f866c9a4dead70793f99abe338fdd799e49038d8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 22 Apr 2018 15:08:26 -0700 Subject: [PATCH] ircd::db: Flush here does not mean what one might think it means. --- ircd/db.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ircd/db.cc b/ircd/db.cc index 53a83f3f0..daad8fe95 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -618,7 +618,7 @@ noexcept try rocksdb::CancelAllBackgroundWork(d.get(), true); // true = blocking this->checkpoint.reset(nullptr); this->columns.clear(); - log.debug("'%s': flushed columns; background_errors: %lu; synchronizing...", + log.debug("'%s': closed columns; background_errors: %lu; synchronizing...", name, property(*this, rocksdb::DB::Properties::kBackgroundErrors)); @@ -1019,11 +1019,6 @@ ircd::db::database::column::column(database *const &d, ircd::db::database::column::~column() noexcept { - if(handle) - { - db::column c{*this}; - flush(c, false); - } } ircd::db::database::column::operator