[ 
https://issues.apache.org/jira/browse/CASSANDRA-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Capwell updated CASSANDRA-18377:
--------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Open)

CASSANDRA-18422 improved burn test to better mimic C*'s implementation and in 
doing so found the same issue, just with a different task class (AsyncOperation 
is in C*, so burn test can't use; they are logically the same).  The error 
found in burn test is that ReadData is seeing duplicate calls to readComplete 
for the same store, which is fixed in CASSANDRA-18364.

Once CASSANDRA-18364 merges, if this issue comes back, we can reopen; for now 
it looks like CASSANDRA-18364 solves

> CEP-15 (Accord) AsyncOperation can not fail as it has already reached FINISHED
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18377
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18377
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Accord
>            Reporter: David Capwell
>            Priority: Normal
>             Fix For: 5.x
>
>
> {code}
> java.lang.IllegalArgumentException: Unexpected state FINISHED
>       at accord.utils.Invariants.illegalArgument(Invariants.java:54)
>       at accord.utils.Invariants.checkArgument(Invariants.java:202)
>       at 
> org.apache.cassandra.service.accord.async.AsyncOperation.fail(AsyncOperation.java:182)
>       at 
> org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:273)
> {code}
> And
> {code}
> java.lang.IllegalArgumentException: Unexpected state FINISHED
>       at accord.utils.Invariants.illegalArgument(Invariants.java:54)
>       at accord.utils.Invariants.checkArgument(Invariants.java:202)
>       at 
> org.apache.cassandra.service.accord.async.AsyncOperation.fail(AsyncOperation.java:182)
>       at 
> org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:273)
>       at 
> org.apache.cassandra.service.accord.async.AsyncOperation.callback(AsyncOperation.java:157)
>       at 
> accord.utils.async.AsyncCallbacks.lambda$null$0(AsyncCallbacks.java:31)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to