rocksdb/utilities
Andrew Kryczka 3fa9a39c68 Add GetAllKeyVersions API
Summary:
- Introduced an include/ file dedicated to db-related debug functions to avoid making db.h more complex
- Added debugging function, `GetAllKeyVersions()`, to return a listing of internal data for a range of user keys. The new `struct KeyVersion` exposes data similar to internal key without exposing any internal type.
- Migrated the "ldb idump" subcommand to use this function
- The API takes an inclusive-exclusive range to match behavior of "ldb idump". This will be quite annoying for users who want to query a single user key's versions :(.
Closes https://github.com/facebook/rocksdb/pull/2232

Differential Revision: D4976007

Pulled By: ajkr

fbshipit-source-id: cab375da53a7595d6575af2b7e3b776aa3ad793e
2017-05-12 15:54:06 -07:00
..
backupable Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
blob_db Blob storage pr 2017-05-10 15:14:44 -07:00
checkpoint Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
compaction_filters Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
convenience Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
date_tiered Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
document Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
geodb Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
leveldb_options Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
lua Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
memory Disable auto compactions in memory_test and re-enable the test (#1408) 2016-10-19 18:18:42 -07:00
merge_operators Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
option_change_migration Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
options Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
persistent_cache Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
redis Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
simulator_cache Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
spatialdb Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
table_properties_collectors Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
transactions Blob storage pr 2017-05-10 15:14:44 -07:00
ttl Move various string utility functions into string_util 2017-04-06 14:54:12 -07:00
write_batch_with_index support PopSavePoint for WriteBatch 2017-05-03 10:57:45 -07:00
col_buf_decoder.cc fix non-portable behavior in encoder 2017-01-20 16:39:22 -08:00
col_buf_decoder.h Fix clang build failure and refactor unit test 2016-08-02 15:16:39 -07:00
col_buf_encoder.cc Fix travis (compile for clang < 3.9) 2016-12-01 10:09:22 -08:00
col_buf_encoder.h Fix clang build failure and refactor unit test 2016-08-02 15:16:39 -07:00
column_aware_encoding_exp.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
column_aware_encoding_test.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
column_aware_encoding_util.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
column_aware_encoding_util.h Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
debug.cc Add GetAllKeyVersions API 2017-05-12 15:54:06 -07:00
env_librados_test.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_librados.cc Remove double buffering on RandomRead on Windows. 2017-04-27 12:30:05 -07:00
env_librados.md Add EnvLibrados - RocksDB Env of RADOS (#1222) 2016-07-21 11:16:34 -07:00
env_mirror_test.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_mirror.cc Remove double buffering on RandomRead on Windows. 2017-04-27 12:30:05 -07:00
env_timed_test.cc add TimedEnv 2017-04-04 11:24:12 -07:00
env_timed.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
merge_operators.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
object_registry_test.cc Generalize Env registration framework 2017-01-25 16:09:14 -08:00
util_merge_operators_test.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00