[
https://issues.apache.org/jira/browse/CASSANDRA-20933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023435#comment-18023435
]
Dmitry Konstantinov edited comment on CASSANDRA-20933 at 9/28/25 5:08 PM:
--------------------------------------------------------------------------
The failure can be reproduced more reliably by adding a delay into
org.apache.cassandra.transport.SimpleClient.SimpleFlusher#writeLargeMessage
logic between sending of subsequent frames of a large auth message. so we have
one of two cases:
* (normal case) client is fast enough to send both frames into an open TCP
socket before a server logic starts to process - in this case we see the
expected Protocol error on a client side
* (flaky case) a server processed the first frame before a client have sent the
second one, the server closes the connection after the first frame processing,
so a client gets another error when it tries to send the second frame.
was (Author: dnk):
The failure can be reproduced more reliably by adding a delay into
org.apache.cassandra.transport.SimpleClient.SimpleFlusher#writeLargeMessage
logic between sending of subsequent frames of a large auth message. so we have
one of two cases:
* client is fast enough to send both frames into an open TCP socket before a
server logic starts to process - in this case we see the expected Protocol
error on a client side
* a server processed the first frame before a client have sent the second one,
the server closes the connection after the first frame processing, so a client
gets another error when it tries to send the second frame.
> Flaky test - transport.AuthMessageSizeLimitTest
> sendTooBigAuthMultiFrameMessage
> -------------------------------------------------------------------------------
>
> Key: CASSANDRA-20933
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20933
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
>
> AuthMessageSizeLimitTest fails from time to time.
> https://ci-cassandra.apache.org/job/Cassandra-trunk/2287/testReport/junit/org.apache.cassandra.transport/AuthMessageSizeLimitTest/Tests___test_jdk17_3_20___sendTooBigAuthMultiFrameMessage__jdk17_x86_64/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]