[ 
https://issues.apache.org/jira/browse/CASSANDRA-14754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068579#comment-17068579
 ] 

Sergio Bossa commented on CASSANDRA-14754:
------------------------------------------

Thanks [~jasonstack]. Also see CASSANDRA-15667.

> Add verification of state machine in StreamSession
> --------------------------------------------------
>
>                 Key: CASSANDRA-14754
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14754
>             Project: Cassandra
>          Issue Type: Task
>          Components: Legacy/Streaming and Messaging
>            Reporter: Jason Brown
>            Assignee: ZhaoYang
>            Priority: Normal
>             Fix For: 4.x
>
>
> {{StreamSession}} contains an implicit state machine, but we have no 
> verification of the safety of the transitions between states. For example, we 
> have no checks to ensure we cannot leave the final states (COMPLETED, FAILED).
> I propose we add some program logic in {{StreamSession}}, tests, and 
> documentation to ensure the correctness of the state transitions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to