db/batchlog_manager: make structs stats public

Need to rename stats() -> get_stats() because it shadows the now
exported type name.
This commit is contained in:
Botond Dénes
2026-01-29 14:17:07 +02:00
parent f8bfaedb6e
commit ca2bbbad97
2 changed files with 8 additions and 5 deletions

View File

@@ -693,7 +693,7 @@ SEASTAR_TEST_CASE(test_batchlog_replay_write_time) {
auto get_write_attempts = [&] () -> uint64_t {
return env.batchlog_manager().map_reduce0([] (const db::batchlog_manager& bm) {
return bm.stats().write_attempts;
return bm.get_stats().write_attempts;
}, uint64_t(0), std::plus<uint64_t>{}).get();
};