rocksdb/include/leveldb
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
..
arena.h Make arena block size configurable 2013-07-31 12:42:23 -07:00
c.h Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
cache.h Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
compaction_filter.h Separate compaction filter for each compaction 2013-08-13 10:56:20 -07:00
comparator.h A number of fixes: 2011-10-31 17:22:06 +00:00
db.h Add APIs to query SST file metadata and to delete specific SST files 2013-08-22 15:27:19 -07:00
env.h [RocksDB] Option for incremental sync 2013-06-18 15:00:32 -07:00
filter_policy.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
iterator.h A number of fixes: 2011-10-31 17:22:06 +00:00
ldb_tool.h [RocksDB] Expose LDB functioanality as a library call - clients can build their own LDB binary with additional options 2013-04-11 20:21:49 -07:00
memtablerep.h Make arena block size configurable 2013-07-31 12:42:23 -07:00
merge_operator.h Merge operator fixes part 1. 2013-08-19 11:42:47 -07:00
options.h Made merge_oprator a shared_ptr; and added TTL unit tests 2013-08-20 13:35:28 -07:00
perf_context.h [RocksDB] Expose thread local perf counter for low overhead, per call level performance statistics. 2013-08-14 15:24:06 -07:00
slice_transform.h Prefix filters for scans (v4) 2013-08-13 14:04:56 -07:00
slice.h manifest_dump: Add --hex=1 option 2012-12-16 08:58:28 -08:00
statistics.h Expose statistic for sequence number and implement setTickerCount 2013-08-15 23:00:20 -07:00
status.h [Rocksdb] Support Merge operation in rocksdb 2013-05-03 16:59:02 -07:00
table_builder.h Fix all the lint errors. 2012-11-28 17:18:41 -08:00
transaction_log.h API for getting archived log files 2013-08-19 13:37:04 -07:00
types.h API for getting archived log files 2013-08-19 13:37:04 -07:00
universal_compaction.h Renamed 'hybrid_compaction' tp be "Universal Compaction'. 2013-07-03 15:47:53 -07:00
write_batch.h Allow WriteBatch::Handler to abort iteration 2013-08-21 18:27:48 -07:00