e9461686b8
If operation with WC are _fast enough_ (e.g. `Init` failed and `Close` is called immediately) there is a race and a deadlock that do not allow finish (and start, in fact) an initialization routine because of taken `modeMtx` and also do not allow finish `Close` call because of awaiting initialization finish. So do stop initialization _before_ any mutex is taken. Signed-off-by: Pavel Karpy <p.karpy@yadro.com> |
||
---|---|---|
.. | ||
delete.go | ||
doc.go | ||
flush.go | ||
flush_test.go | ||
generic_test.go | ||
get.go | ||
init.go | ||
iterate.go | ||
mode.go | ||
options.go | ||
put.go | ||
state.go | ||
storage.go | ||
util.go | ||
writecache.go |