OpenRiak / riak_kv

Riak Key/Value Store
0 stars 0 forks source link

Estimate of progress on handoffs - leveled #16

Open martinsumner opened 11 months ago

martinsumner commented 11 months ago

The handoff manager can estimate progress (as a percentage), if the backend supports a data_size/1 function (e.g. https://github.com/nhs-riak/riak_kv/blob/nhse-develop-3.0/src/riak_kv_bitcask_backend.erl#L430-L437).

This needs to be added to the riak_kv_leveled_backend