Files
greptimedb/src
Lei, HUANG 27693c7f1e perf: avoid holding memtable during compaction (#5157)
* perf/avoid-holding-memtable-during-compaction: Refactor Compaction Version Handling

 • Introduced CompactionVersion struct to encapsulate region version details for compaction, removing dependency on VersionRef.
 • Updated CompactionRequest and CompactionRegion to use CompactionVersion.
 • Modified open_compaction_region to construct CompactionVersion without memtables.
 • Adjusted WindowedCompactionPicker to work with CompactionVersion.
 • Enhanced flush logic in WriteBufferManager to improve memory usage checks and logging.

* reformat code

* chore: change log level

* reformat code

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
2024-12-20 14:12:19 +08:00
..
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00
2024-12-20 14:12:19 +08:00