[PATCH v2] iproto: close socket explicitly before wal_dir at exit

Vladimir Davydov vdavydov.dev at gmail.com
Mon Feb 25 18:07:15 MSK 2019


On Mon, Feb 25, 2019 at 05:56:25PM +0300, Ilya Kosarev wrote:
> From: Ilya Kosarev <ilyanapar at yandex.ru>
> 
> tarantool instance didn't close socket explicitly
> which could cause hot standby instance to fail to bind
> in case it tries to bind before socket is closed by OS.
> Now it is fixed by closing socket explicitly before wal_dir.
> 
> Closes #3967
> ---
> https://github.com/tarantool/tarantool/tree/i.kosarev/gh-3967-close-socket-explicitly
> https://github.com/tarantool/tarantool/issues/3967

Please write a brief change log whenever you resubmit a patch and bump
the version in the subject. For more details, see

https://tarantool.io/en/doc/1.10/dev_guide/developer_guidelines/#how-to-submit-a-patch-for-review

> 
>  src/box/box.cc    |  1 +
>  src/box/iproto.cc | 13 +++++++++++++
>  src/box/iproto.h  |  3 +++
>  3 files changed, 17 insertions(+)

I pushed the patch to 2.1 and 1.10. Thanks.



More information about the Tarantool-patches mailing list