Skip to main contentModule versioning
Source - HummockWriteLimitsReadGuard
- Holds the compaction group manager read lock, protecting write limits until dropped.
- Versioning
- calc_new_write_limits ๐
- Calculates write limits for
target_groups.
Returns a new complete write limits snapshot based on origin_snapshot and version. - estimate_table_stats ๐
- Estimates table stats change from the given file.
- rebuild_table_stats ๐
- Rebuilds table stats from the given version.
Note that the result is approximate value. See
estimate_table_stats.