mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 11:30:36 +00:00
Move memtable in_flight_seal.leave() to finally (symmetry)
This commit is contained in:
@@ -489,9 +489,9 @@ column_family::seal_active_memtable(database* db) {
|
||||
} catch (...) {
|
||||
dblog.error("failed to write sstable: unknown error");
|
||||
}
|
||||
|
||||
_in_flight_seals.leave();
|
||||
});
|
||||
}).finally([this] {
|
||||
_in_flight_seals.leave();
|
||||
});
|
||||
// FIXME: release commit log
|
||||
// FIXME: provide back-pressure to upper layers
|
||||
|
||||
Reference in New Issue
Block a user