rocksdb/tools
Abhishek Kona 30742e1692 LDB can read WAL.
Summary:
Add option to read WAL and print a summary for each record.
facebook task => #1885013

E.G. Output :
./ldb dump_wal --walfile=/tmp/leveldbtest-5907/dbbench/026122.log --header
Sequence,Count,ByteSize
49981,1,100033
49981,1,100033
49982,1,100033
49981,1,100033
49982,1,100033
49983,1,100033
49981,1,100033
49982,1,100033
49983,1,100033
49984,1,100033
49981,1,100033
49982,1,100033

Test Plan:
Works run
./ldb read_wal --wal-file=/tmp/leveldbtest-5907/dbbench/000078.log --header

Reviewers: dhruba, heyongqiang

Reviewed By: dhruba

CC: emayanke, leveldb, zshao

Differential Revision: https://reviews.facebook.net/D6675
2012-11-19 12:04:34 -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 can read WAL. 2012-11-19 12:04:34 -08:00
manifest_dump.cc Fix compiler warnings. Use uint64_t instead of uint. 2012-09-12 14:42:36 -07:00
reduce_levels_test.cc Fix test failure of reduce_num_levels 2012-11-12 12:05:38 -08:00
sst_dump.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00