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
README -rw-r--r-- 1.1 KB
env_hdfs.h -rw-r--r-- 8.4 KB
hdfs.h -rw-r--r-- 16.7 KB
libhdfs.a -rw-r--r-- 63.7 KB

README

back to top