Revision 7730587120eb7f4b5cc5e0dc1630e63cca24319c authored by Dhruba Borthakur on 10 April 2013, 15:37:03 UTC, committed by Dhruba Borthakur on 10 April 2013, 16:59:48 UTC
Summary:
The segfault was happening because the program was unable to open a new
sst file (as part of the compaction) because the process ran out of
file descriptors.

The fix is to check the return status of the file creation before taking
any other action.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fabf03f9700 (LWP 29904)]
leveldb::DBImpl::OpenCompactionOutputFile (this=this@entry=0x7fabf9011400, compact=compact@entry=0x7fabf741a2b0) at db/db_impl.cc:1399
1399    db/db_impl.cc: No such file or directory.
(gdb) where

Test Plan: make check

Reviewers: MarkCallaghan, sheki

Reviewed By: MarkCallaghan

CC: leveldb

Differential Revision: https://reviews.facebook.net/D10101
1 parent adb4e45
History
File Mode Size
bench
benchmark.html -rw-r--r-- 20.5 KB
doc.css -rw-r--r-- 1.1 KB
impl.html -rw-r--r-- 8.1 KB
index.html -rw-r--r-- 20.8 KB
log_format.txt -rw-r--r-- 2.7 KB
table_format.txt -rw-r--r-- 3.5 KB

back to top