xo-gc: bugfix + mutation log test passes

This commit is contained in:
Roland Conybeare 2026-04-19 19:57:49 -04:00
commit 362dcf73fc
6 changed files with 310 additions and 117 deletions

View file

@ -35,6 +35,7 @@ namespace xo {
**/
void init_mlogs(std::size_t page_z);
const MutationLogConfig & config() const noexcept { return config_; }
MutationLog * get_mlog(Role r, Generation g) noexcept { return mlog_[r][g]; }
const MutationLog * get_mlog(Role r, Generation g) const noexcept { return mlog_[r][g]; }
/** reminder: abusing Role because we need one additional mlog **/