cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berenguer Blasi (Jira)" <>
Subject [jira] [Commented] (CASSANDRA-16677) Fix flaky ConnectionTest
Date Thu, 08 Jul 2021 10:25:00 GMT


Berenguer Blasi commented on CASSANDRA-16677:

There are a few test cases that can fail in this test. Idk if the all have a common root cause.
But so far after diving among all the async, SSL and some netty code I can't pin down yet
who is closing that connection. There are so many asyncs, threads, loose optimistic concurrent
assumptions, etc... I don't see anything obvious in the netty code either but I don't know
it thoroughly.

I have been focusing on the outbound closing logic. But now I am focusing on the inbound side
of things where a well placed Thread.sleep() _seems_ to fix it (still to be confirmed). I
am afraid I have only 3 options:
- Download netty sources, add debug and continue the hunt. Worth it?
- Add a Thread.sleep()
- Mark as flaky

I need to think a bit more about this...

> Fix flaky ConnectionTest
> ------------------------
>                 Key: CASSANDRA-16677
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Messaging/Internode
>            Reporter: Brandon Williams
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0, 4.0-rc

This message was sent by Atlassian Jira

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

View raw message