cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-498) Replace EndPoint class with InetAddress
Date Wed, 21 Oct 2009 15:34:59 GMT


Jonathan Ellis updated CASSANDRA-498:

    Attachment: 0003-convert-EndPoint-to-InetAddress-removes-MembershipCle.txt

> Replace EndPoint class with InetAddress
> ---------------------------------------
>                 Key: CASSANDRA-498
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.5
>         Attachments: 0001-CASSANDRA-498-r-m-unused-listening-distinction-in-Tc.txt, 0002-r-m-uses-of-EndPoint-port-constructor-rename-EndPoin.txt,
> EndPoint is problematic because there are two for each node: one for the TCP port (used
for all data-related traffic), and one for UDP (for gossip).  Often you will have a collection
of one type of EndPoint, and want to look it up by the other type; this gives rise to abominations
such as retrofitPorts and hard-to-find bugs.
> Replacing EndPoint with the standard and port-less InetAddress fixes these problems.
 (We push the actual tcp/udp ports into TcpConnection / UdpConnection, where they belong.)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message