topling/toplingdb

Report Fee Support

rockeet opened this issue · 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().

Change in this way will minimize code changes and maximize compatibility.