cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-13631) add header parameter size to internode messaging protocol
Date Tue, 19 Sep 2017 15:31:00 GMT


Jason Brown updated CASSANDRA-13631:
    Fix Version/s: 4.0
           Status: Patch Available  (was: Open)


> add header parameter size to internode messaging protocol
> ---------------------------------------------------------
>                 Key: CASSANDRA-13631
>                 URL:
>             Project: Cassandra
>          Issue Type: Task
>          Components: Streaming and Messaging
>            Reporter: Jason Brown
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 4.0
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message