[
https://issues.apache.org/jira/browse/CASSANDRA-18200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681393#comment-17681393
] Brandon Williams commented on CASSANDRA-18200: ---------------------------------------------- I think for this ticket making 4.0 behavior's compatible with what 3.11 does makes sense. ||Branch||CI|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-18200-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/826/workflows/efad0d63-ae57-4d4a-be69-657ca60ee8ca], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/826/workflows/cfaf30be-c9fe-41fc-8643-17553fe76708]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18200-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/824/workflows/43e1fa3a-0173-4a11-9a16-4aeff9b544b4], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/824/workflows/91a408fe-dbf1-43c3-bfc7-89465c2cf8ea]| |[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18200-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/825/workflows/cf9b1159-6a57-4793-97b8-879fc3693a99], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/825/workflows/7c0967c4-7428-483f-9a23-d926659d95a0]| > Cassandra messaging to self changed behavior > -------------------------------------------- > > Key: CASSANDRA-18200 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18200 > Project: Cassandra > Issue Type: Bug > Components: Messaging/Internode > Reporter: Maciej Sokol > Priority: Normal > Attachments: patch.txt > > > During testing of Cassandra on AWS, we noticed some behavior changes between > Cassandra 3.11 and Cassandra 4.0 when it comes to messaging. > When performing a range query with consistency local_quorum, Cassandra sents > a request to itself and some peers. > In case of Cassandra 4.0, it's trying to connect to itself using the > broadcast_address while in Cassandra 3.11 it's connecting using the local > address (see > [https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/net/OutboundTcpConnectionPool.java#L152]. > This translation seems to be missing in Cassandra 4.X. I think the best place > to fix it would be here (see attached file): > [https://github.com/apache/cassandra/blob/cassandra-4.0/src/java/org/apache/cassandra/net/OutboundConnectionSettings.java#L451] -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
