basho / bitcask

because you need another a key/value storage engine
1.29k stars 173 forks source link

Use O_CREAT flag when opening files to match behavior of erlang mode #253

Closed bsparrow435 closed 7 years ago

bsparrow435 commented 7 years ago

In specific merge cases, we attempt to open a hintfile which has been removed and in erlang mode will create the file while in NIF mode the cask crashes. Use O_CREAT to bring the modes to parity. Resolves #242 (RIAK-1890) (RIAK-2733) and #251 (RIAK-2895)