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

add header parameter size to internode messaging protocol

    XMLWordPrintableJSON

Details

    Description

      as netty is not a streaming/blocking protocol and works best when buffer sizes are known, I had to do a bunch of contortions in MessageInHandler (as part of CASSANDRA-8457) to safely read the message header parameters. If we add a header parameters size field to the internode messaging protocol, the header parsing code would be dramatically simpler (note: we'll still need the existing parsing to support the cluster upgrade use case). An alternative to adding a new field is to hijack the existing header parameter count field; that field is an int, so field width is not an issue.

      Attachments

        Issue Links

          Activity

            People

              jasobrown Jason Brown
              jasobrown Jason Brown
              Jason Brown
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: