basho / bitcask

because you need another a key/value storage engine
1.28k stars 171 forks source link

Potential Process Leak [JIRA: RIAK-2227] #224

Open ian-mi opened 8 years ago

ian-mi commented 8 years ago

There appears to be a potential process leak when a bitcask_file process is unable to open a file. When this occurs, the process will return an error to the caller of file_open, but will not shut itself down. bitcask_file:file_open will simply return this error to the caller without stopping the bitcask_file process. A simple solution would be to change the error reply to an exit.

ksauzz commented 8 years ago

I faced this issue at ZD#12688, but I didn't identify what makes bitcask_file:file_open/2 fail.

llelf commented 5 years ago

should this be closed? a35d6d67fb320c4860f5e1a9ff4ecb56d517d5de