Don’t open exclusive when re-opening a merge file
This commit is contained in:
parent
3b6b0ce197
commit
71c4243701
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ deserialize(Binary) ->
|
|||
do_open(Name, Options, OpenOpts) ->
|
||||
WriteBufferSize = hanoidb:get_opt(write_buffer_size, Options, 512 * 1024),
|
||||
file:open(hanoidb_util:index_file_name(Name),
|
||||
[raw, append, {delayed_write, WriteBufferSize, 2000}, exclusive | OpenOpts]).
|
||||
[raw, append, {delayed_write, WriteBufferSize, 2000} | OpenOpts]).
|
||||
|
||||
|
||||
%% @doc flush pending nodes and write trailer
|
||||
|
|
Loading…
Reference in a new issue