Host marked as down on TTransportException (thrift frame size exceeded) #124

rschildmeijer opened this Issue Oct 9, 2012 · 2 comments


None yet
3 participants

rschildmeijer commented Oct 9, 2012

Astyanax marks the entire (Cassandra) host as down when a TTransportException (Thrift exception) is thrown because max Thrift message size (thrift_max_message_length_in_mb, Cassandra knob) is exceeded.

The host is marked as down because Astyanax wraps TTransportException (Thrift exception) in a TransportException. (That exception implements IsDeadConnectionException).

A better approach would be to close that single tcp connection (the connection we received the thrift frame size error from)


elandau commented Nov 15, 2012

This behavior was implemented in version 1.56.12 and up.

elandau closed this Nov 15, 2012

boliza commented Dec 2, 2014

I review the code it seems no config to set this

transport = new TFramedTransport(socket);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment