toplingdb icon indicating copy to clipboard operation
toplingdb copied to clipboard

Report Fee Support

Open rockeet opened this issue 3 years ago • 1 comments

As a cloud native DB, distributed compaction needs fee charge, this involves some code changes.

rockeet avatar May 07 '22 09:05 rockeet

Resolved in commit e1553bb1852b74c3f7c1c074fe7427ccbf26da27: 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.

rockeet avatar May 07 '22 09:05 rockeet