mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-30 03:30:49 +00:00
The region_group mechanism used an intrusive heap handle embedded in logalloc::region to allow region_group:s to track the largest region. But with region_group moved out of logalloc, the handle is out of place. Move it out, introducing a new intermediate class size_tracked_region to hold the heap handle. We might eventually merge the new class into memtable (which derives from it), but that requires a large rearrangement of unit tests, so defer that.