rocksdb/tools
Zheng Shao 01d57a33fe sst_dump: Add --output_hex option and output the same format as ldb dump
Summary: Now sst_dump has the same option --output_hex as "ldb dump" and also share the same output format.  So we can do "sst_dump ... | ldb load ..." for an experiment.

Test Plan:
[zshao@dev485 ~/git/rocksdb] ./sst_dump --file=/data/users/zshao/test_leveldb/000005.sst  --output_hex | head -n 2
0000027F4FBE00000101000000000000 ==> D901000000000000000057596F7520726563656976656420746F6461792773207370656369616C20676966742120436C69636B2041636365707420746F207669657720796F75722047696674206265666F72652069742064697361707065617273210000000000000000
000007F9C2D400000102000000000000 ==> D1010000000000000000544974277320676F6F6420746F206265204B696E67E280A6206F7220517565656E212048657265277320796F75722054756573646179204D79737465727920476966742066726F6D20436173746C6556696C6C65219B7B227A636F6465223A22633566306531633039663764222C227470223A22613275222C227A6B223A22663638663061343262666264303966383435666239626235366365396536643024246234506C345139382E734C4D33522169482D4F31315A64794C4B7A4F4653766D7863746534625F2A3968684E3433786521776C427636504A414355795F70222C227473223A313334343936313737357D0000000000000000

Reviewers: dhruba, sheki, emayanke

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D7587
2012-12-21 10:44:19 -08:00
..
shell Titile: a command line shell to read/write data from a leveldb thrift server 2012-08-23 09:41:05 -07:00
db_stress.cc enhance dbstress to simulate hard crash 2012-11-18 23:16:17 -08:00
ldb.cc ldb: add "ldb load" command 2012-12-19 01:45:59 -08:00
manifest_dump.cc manifest_dump: Add --hex=1 option 2012-12-16 08:58:28 -08:00
reduce_levels_test.cc Fix test failure of reduce_num_levels 2012-11-12 12:05:38 -08:00
sst_dump.cc sst_dump: Add --output_hex option and output the same format as ldb dump 2012-12-21 10:44:19 -08:00