Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14754

Add verification of state machine in StreamSession

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jasobrown Jason Brown
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: