mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::db: Flush here does not mean what one might think it means.
This commit is contained in:
parent
2325208ecd
commit
f866c9a4de
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue