diff --git a/src/box/applier.cc b/src/box/applier.cc index 2a2aeb24b422205112e8f09e36208d3b7de53a8b..33c992b762b77570012ba1b2dd3f48e6771c21a9 100644 --- a/src/box/applier.cc +++ b/src/box/applier.cc @@ -119,6 +119,13 @@ applier_writer_f(va_list ap) xrow_encode_vclock(&xrow, &replicaset.vclock); coio_write_xrow(&io, &xrow); } catch (SocketError *e) { + /* + * There is no point trying to send ACKs if + * the master closed its end - we would only + * spam the log - so exit immediately. + */ + if (e->get_errno() == EPIPE) + break; /* * Do not exit, if there is a network error, * the reader fiber will reconnect for us