basho/leveldb — pull request #74 by jtuple (2013-03-19 22:39:51+00:00)
Title: Add status query for total bytes used by a LevelDB instance

This pull-request adds a new LevelDB property "leveldb.total-bytes" that returns the total bytes used by LevelDB for SSTs. This value is equivalent to the sum of the reported per-level sizes shown in the "leveldb.status" output.

---

The main purpose of this change is for use in Riak through the `eleveldb:status` API to allow Riak to estimate the total bytes by a LevelDB vnode. The motivation being the new transfer progress work by @jrwest: basho/platform_tasks#23