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
..
2017-05-12 15:54:06 -07:00
2017-05-05 23:20:01 -07:00
2017-03-13 11:54:10 -07:00
2017-05-07 23:20:46 -07:00
2017-05-10 15:14:44 -07:00
2017-03-30 16:54:52 -07:00
2017-03-13 11:54:10 -07:00
2016-06-14 17:07:34 -07:00
2017-03-13 11:54:10 -07:00
2017-04-26 15:57:01 -07:00
2017-03-28 12:09:12 -07:00
2016-03-22 17:10:31 -07:00