Revision f5cdf931a032a93688eb26532c4153b6950fd640 authored by Abhishek Kona on 13 November 2012, 00:45:45 UTC, committed by Abhishek Kona on 16 November 2012, 17:09:00 UTC
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
1 parent e988c11
History
File Mode Size
db
doc
hdfs
helpers
include
java
port
scribe
snappy
table
thrift
tools
util
.arcconfig -rw-r--r-- 110 bytes
.gitignore -rw-r--r-- 61 bytes
AUTHORS -rw-r--r-- 193 bytes
LICENSE -rw-r--r-- 1.4 KB
Makefile -rw-r--r-- 9.2 KB
NEWS -rw-r--r-- 509 bytes
README -rw-r--r-- 1.7 KB
README.fb -rw-r--r-- 283 bytes
TODO -rw-r--r-- 494 bytes
build_detect_platform -rwxr-xr-x 7.9 KB
build_detect_version -rwxr-xr-x 1.1 KB
fbcode.gcc471.sh -rw-r--r-- 2.3 KB

README

back to top