rocksdb/tools
Kosie van der Merwe 3c3df7402f Fixed issues Valgrind found.
Summary:
Found issues with `db_test` and `db_stress` when running valgrind.

`DBImpl` had an issue where if an compaction failed then it will use the uninitialised file size of an output file is used. This manifested as the final call to output to the log in `DoCompactionWork()` branching on uninitialized memory (all the way down in printf's innards).

Test Plan:
Ran `valgrind --track_origins=yes ./db_test` and `valgrind ./db_stress` to see if issues disappeared.

Ran `make check` to see if there were no regressions.

Reviewers: vamsi, dhruba

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D8001
2013-01-17 10:04:45 -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_repl_stress.cc Create a long running test to check GetUpdatesSince. 2012-12-21 14:10:06 -08:00
db_stress.cc Fixed issues Valgrind found. 2013-01-17 10:04:45 -08:00
ldb.cc ldb: Add command "ldb query" to support random read from the database 2012-12-26 20:37:42 -08:00
manifest_dump.cc manifest_dump: Fix the help message and make it consistent 2012-12-21 10:45:24 -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: Fix incorrect cmd args parsing 2012-12-26 10:57:04 -08:00