Skip to content
Snippets Groups Projects
Commit 4be1be77 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

replication: write replication exception to socket in blocking mode

Better safe than sorry.
@todo@: rewrite to send an error for reporting to iproto thread instead.

In scope of gh-2507.
parent ed521b92
No related branches found
No related tags found
No related merge requests found
......@@ -1047,7 +1047,7 @@ tx_process_join_subscribe(struct cmsg *m)
} catch (SocketError *e) {
throw; /* don't write error response to prevent SIGPIPE */
} catch (Exception *e) {
iproto_write_error(con->input.fd, e, ::schema_version);
iproto_write_error_blocking(con->input.fd, e);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment