db/batchlog_manager: add feature_service dependency

Will be needed to check for batchlog_v2 feature.
This commit is contained in:
Botond Dénes
2026-01-29 11:21:26 +02:00
parent c901ab53d2
commit ac059dadc6
4 changed files with 12 additions and 4 deletions

View File

@@ -1178,7 +1178,7 @@ private:
bmcfg.replay_timeout = cfg_in.batchlog_replay_timeout.value_or(2s);
bmcfg.delay = cfg_in.batchlog_delay;
bmcfg.replay_cleanup_after_replays = cfg->batchlog_replay_cleanup_after_replays();
_batchlog_manager.start(std::ref(_qp), std::ref(_sys_ks), bmcfg).get();
_batchlog_manager.start(std::ref(_qp), std::ref(_sys_ks), std::ref(_feature_service), bmcfg).get();
auto stop_bm = defer_verbose_shutdown("batchlog manager", [this] {
_batchlog_manager.stop().get();
});