[ https://issues.apache.org/jira/browse/CASSANDRA-19103 ]


    Stefan Miklosovic deleted comment on CASSANDRA-19103:
    -----------------------------------------------

was (Author: smiklosovic):
[CASSANDRA-19103|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19103]
{noformat}
java17_pre-commit_tests                         
java17_separate_tests                            
java11_pre-commit_tests                         
java11_separate_tests                            
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3944/workflows/979e3a49-6ffc-4c0a-9551-8d6f6b250851]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3944/workflows/79303764-d8ac-46e0-b82f-ebc38dd299f2]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3944/workflows/5c9ec875-57ff-4949-a4cf-d7c5ea9a9b1d]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/3944/workflows/44af98f2-8eb8-414b-887e-27c4619e34aa]


> Filter replicas for counter mutation leader to be JOINED replicas to decouple 
> from RPC_READY state
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19103
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19103
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Transactional Cluster Metadata
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 5.x
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> In CASSANDRA-18935, what I did was that if transport is turned off while node 
> is up, it will set RPC_READY to "false". Before 18935 was in, if you turned 
> off transport while node was up and transport was on, RPC_READY was not 
> changed to false but it stayed to be "true" for ever.
> Clearly, this was wrong, so I fixed that, but when I did that, the code which 
> decides who will be the leader of counter mutation was broken, because that 
> node filtered out all nodes for which RPC_READY is false, which never 
> happened before, because nobody has set it to "false" on turned off transport.
> So, we decided to revert this regression in 5.0-rc1 and I was waiting for 
> CEP-21 to be in because I saw it is rewritten there with TODO to filter 
> JOINED nodes. 
> Hence, we can decouple this logic and fix RPC_READY status finally.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to