Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
Operability
-
Normal
-
All
-
None
Description
There are a few things we could do to make internode_max_message_size (formerly internode_max_message_size_in_bytes) a bit more friendly:
1.) If a read fails because of an OversizedMessageException, it would be nice to emit a client warning. Currently the client gets a ReadFailureException, surfaced as something like this:
msg="Cassandra failure during read query at consistency QUORUM (3 responses were required but only 0 replica responded, 2 failed)" query="SELECT key, column1, value FROM ks.tbl WHERE key=? AND column1>? AND column1<=? LIMIT 256;" stackTrace="com.datastax.driver.core.exceptions.ReadFailureException: Cassandra failure during read query at consistency QUORUM (3 responses were required but only 0 replica responded, 2 failed)
2.) We should add an entry in NEWS.txt to indicate the possible impact of internode_max_message_size_in_bytes when upgrading to 4.0+.
3.) internode_max_message_size_in_bytes / internode_max_message_size should be settable at runtime via JMX/vtable/etc.