You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Brown (JIRA)" <ji...@apache.org> on 2018/09/15 13:59:00 UTC

[jira] [Created] (CASSANDRA-14754) Add verification of state machine in StreamSession

Jason Brown created CASSANDRA-14754:
---------------------------------------

             Summary: 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: Streaming and Messaging
            Reporter: Jason Brown
            Assignee: Jason Brown
             Fix For: 4.0


{{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
(v7.6.3#76005)

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