Dhruba Borthakur
fe93631678
Clean up compiler warnings generated by -Wall option.
...
Summary:
Clean up compiler warnings generated by -Wall option.
make clean all OPT=-Wall
This is a pre-requisite before making a new release.
Test Plan: compile and run unit tests
Reviewers: heyongqiang
Reviewed By: heyongqiang
Differential Revision: https://reviews.facebook.net/D5019
2012-08-29 14:24:51 -07:00
heyongqiang
e675351ad7
number to read is not resepected
...
Summary: as subject
Test Plan: sst_dump --command=scan --file=
Reviewers: dhruba
Differential Revision: https://reviews.facebook.net/D4887
2012-08-24 18:29:40 -07:00
heyongqiang
1de83cc2ac
add more logs
...
Summary:
as subject
add a tool to read sst file
as subject.
./sst_reader --command=check --file=
./sst_reader --command=scan --file=
Test Plan:
db_test
run this command
Reviewers: dhruba
Reviewed By: dhruba
Differential Revision: https://reviews.facebook.net/D4881
2012-08-24 15:20:49 -07:00
Dhruba Borthakur
f3ee54526f
Utility to dump manifest contents.
...
Summary:
./manifest_dump --file=/tmp/dbbench/MANIFEST-000002
Output looks like
manifest_file_number 30 next_file_number 31 last_sequence 388082 log_number 28 prev_log_number 0
--- level 0 ---
--- level 1 ---
--- level 2 ---
5:3244155['0000000000000000' @ 1 : 1 .. '0000000000028220' @ 28221 : 1]
7:3244177['0000000000028221' @ 28222 : 1 .. '0000000000056441' @ 56442 : 1]
9:3244156['0000000000056442' @ 56443 : 1 .. '0000000000084662' @ 84663 : 1]
11:3244178['0000000000084663' @ 84664 : 1 .. '0000000000112883' @ 112884 : 1]
13:3244158['0000000000112884' @ 112885 : 1 .. '0000000000141104' @ 141105 : 1]
15:3244176['0000000000141105' @ 141106 : 1 .. '0000000000169325' @ 169326 : 1]
17:3244156['0000000000169326' @ 169327 : 1 .. '0000000000197546' @ 197547 : 1]
19:3244178['0000000000197547' @ 197548 : 1 .. '0000000000225767' @ 225768 : 1]
21:3244155['0000000000225768' @ 225769 : 1 .. '0000000000253988' @ 253989 : 1]
23:3244179['0000000000253989' @ 253990 : 1 .. '0000000000282209' @ 282210 : 1]
25:3244157['0000000000282210' @ 282211 : 1 .. '0000000000310430' @ 310431 : 1]
27:3244176['0000000000310431' @ 310432 : 1 .. '0000000000338651' @ 338652 : 1]
29:3244156['0000000000338652' @ 338653 : 1 .. '0000000000366872' @ 366873 : 1]
--- level 3 ---
--- level 4 ---
--- level 5 ---
--- level 6 ---
Test Plan: run on test directory created by dbbench
Reviewers: heyongqiang
Reviewed By: heyongqiang
CC: hustliubo
Differential Revision: https://reviews.facebook.net/D4743
2012-08-24 15:17:09 -07:00
bol
89f0c25360
Merge remote-tracking branch 'origin/master' into task1181723
...
Conflicts:
Makefile
2012-08-24 03:34:55 -07:00
Dhruba Borthakur
2b443ba887
Titile: a command line shell to read/write data from a leveldb thrift server
...
Summary: implemented a commond line shell to talk with leveldb thrift server, which is based on state pattern and can be easily extended.
Test Plan: build and run
Reviewers: dhruba, zshao, heyongqiang
Differential Revision: https://reviews.facebook.net/D4713
2012-08-23 09:41:05 -07:00
Dhruba Borthakur
2aa514ec8c
Utility to dump manifest contents.
...
Summary:
./manifest_dump --file=/tmp/dbbench/MANIFEST-000002
Output looks like
manifest_file_number 30 next_file_number 31 last_sequence 388082 log_number 28 prev_log_number 0
--- level 0 ---
--- level 1 ---
--- level 2 ---
5:3244155['0000000000000000' @ 1 : 1 .. '0000000000028220' @ 28221 : 1]
7:3244177['0000000000028221' @ 28222 : 1 .. '0000000000056441' @ 56442 : 1]
9:3244156['0000000000056442' @ 56443 : 1 .. '0000000000084662' @ 84663 : 1]
11:3244178['0000000000084663' @ 84664 : 1 .. '0000000000112883' @ 112884 : 1]
13:3244158['0000000000112884' @ 112885 : 1 .. '0000000000141104' @ 141105 : 1]
15:3244176['0000000000141105' @ 141106 : 1 .. '0000000000169325' @ 169326 : 1]
17:3244156['0000000000169326' @ 169327 : 1 .. '0000000000197546' @ 197547 : 1]
19:3244178['0000000000197547' @ 197548 : 1 .. '0000000000225767' @ 225768 : 1]
21:3244155['0000000000225768' @ 225769 : 1 .. '0000000000253988' @ 253989 : 1]
23:3244179['0000000000253989' @ 253990 : 1 .. '0000000000282209' @ 282210 : 1]
25:3244157['0000000000282210' @ 282211 : 1 .. '0000000000310430' @ 310431 : 1]
27:3244176['0000000000310431' @ 310432 : 1 .. '0000000000338651' @ 338652 : 1]
29:3244156['0000000000338652' @ 338653 : 1 .. '0000000000366872' @ 366873 : 1]
--- level 3 ---
--- level 4 ---
--- level 5 ---
--- level 6 ---
Test Plan: run on test directory created by dbbench
Reviewers: heyongqiang
Reviewed By: heyongqiang
CC: hustliubo
Differential Revision: https://reviews.facebook.net/D4743
2012-08-17 22:36:59 -07:00