Repeat dirty buffer flushes on any PG primary change because the new primary may not know about unfinished operations of the old primary

This commit is contained in:
Vitaliy Filippov
2024-06-19 00:28:26 +03:00
parent 0fec7a9fea
commit e400a851f4
6 changed files with 67 additions and 8 deletions
+2
View File
@@ -127,6 +127,8 @@ public:
std::function<void(json11::Json::object &)> on_load_config_hook;
std::function<json11::Json()> load_pgs_checks_hook;
std::function<void(bool)> on_load_pgs_hook;
std::function<void()> on_change_pool_config_hook;
std::function<void(pool_id_t, pg_num_t, osd_num_t)> on_change_pg_state_hook;
std::function<void(pool_id_t, pg_num_t)> on_change_pg_history_hook;
std::function<void(osd_num_t)> on_change_osd_state_hook;
std::function<void()> on_reload_hook;