Simha Venkataramaiah 60bf2b7d4a Add APIs to query SST file metadata and to delete specific SST files
Summary: An api to query the level, key ranges, size etc for each SST file and an api to delete a specific file from the db and all associated state in the bookkeeping datastructures.

Notes: Editing the manifest version does not release the obsolete files right away. However deleting the file directly will mess up the iterator. We may need a more aggressive/timely file deletion api.

I have used std::unique_ptr - will switch to boost:: since this is external. thoughts?

Unit test is fragile right now as it expects the compaction at certain levels.

Test Plan: unittest

Reviewers: dhruba, vamsi, emayanke

CC: zshao, leveldb, haobo

Task ID: #

Blame Rev:
2013-08-22 15:27:19 -07:00
..
2013-03-14 16:00:23 -07:00
2013-06-12 11:17:19 -07:00
2012-09-16 19:33:43 -07:00
2013-08-14 16:32:46 -07:00
2012-12-17 11:26:59 -08:00
2013-08-19 13:37:04 -07:00
2012-12-17 11:26:59 -08:00
2013-02-28 18:04:58 -08:00
2013-08-13 14:25:42 -07:00
2013-08-13 14:25:42 -07:00
2013-08-19 11:42:47 -07:00
2013-08-13 14:25:42 -07:00
2013-08-19 11:42:47 -07:00
2013-07-31 12:42:23 -07:00
2013-02-28 18:04:58 -08:00