forked from TrueCloudLab/frostfs-node
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> |
||
---|---|---|
.. | ||
core | ||
innerring | ||
local_object_storage | ||
metrics | ||
morph | ||
network | ||
services | ||
util |