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.
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.