compaction_manager: reevaluate_postponed_compactions: mark as noexcept

To simplify error handling in following patches
that will coroutinize task logic.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2022-03-09 16:45:47 +02:00
parent 72162ed653
commit ee32be3aa5
2 changed files with 2 additions and 2 deletions

View File

@@ -536,7 +536,7 @@ void compaction_manager::postponed_compactions_reevaluation() {
});
}
void compaction_manager::reevaluate_postponed_compactions() {
void compaction_manager::reevaluate_postponed_compactions() noexcept {
_postponed_reevaluation.signal();
}

View File

@@ -272,7 +272,7 @@ private:
inline bool maybe_stop_on_error(std::exception_ptr err, bool can_retry);
void postponed_compactions_reevaluation();
void reevaluate_postponed_compactions();
void reevaluate_postponed_compactions() noexcept;
// Postpone compaction for a table that couldn't be executed due to ongoing
// similar-sized compaction.
void postpone_compaction_for_table(replica::table* t);