0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 21:59:02 +02:00

ircd::db: Flush here does not mean what one might think it means.

This commit is contained in:
Jason Volk 2018-04-22 15:08:26 -07:00
parent 2325208ecd
commit f866c9a4de

View file

@ -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<uint64_t>(*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