rockeet opened this issue 3 years ago · 1 comments
As a cloud native DB, distributed compaction needs fee charge, this involves some code changes.
Resolved in commit e1553bb: Add CompactionResults::output_data_size & output_index_size are set in RunRemote() and used in DcompactEtcd::CleanFiles() call to ReportFee().
CompactionResults::output_data_size
output_index_size
Change in this way will minimize code changes and maximize compatibility.