[PATCH v2] iproto: close socket explicitly before wal_dir at exit
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
Please write a brief change log whenever you resubmit a patch and bump
the version in the subject. For more details, see
> 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