Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18026

Operability improvements around internode_max_message_size[_in_bytes] in 4.0+

    XMLWordPrintableJSON

Details

    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maedhroz Caleb Rackliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: