mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
exit fdbserver after a ReceiverError, because a packet which should be delivered will never be received
This commit is contained in:
parent
37f9456010
commit
a835123680
@ -659,6 +659,9 @@ ACTOR static void deliver(TransportData* self, Endpoint destination, ArenaReader
|
||||
} catch (Error& e) {
|
||||
g_currentDeliveryPeerAddress = {NetworkAddress()};
|
||||
TraceEvent(SevError, "ReceiverError").error(e).detail("Token", destination.token.toString()).detail("Peer", destination.getPrimaryAddress());
|
||||
if(!FlowTransport::isClient()) {
|
||||
flushAndExit(FDB_EXIT_ERROR);
|
||||
}
|
||||
throw;
|
||||
}
|
||||
} else if (destination.token.first() & TOKEN_STREAM_FLAG) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user