Sijie Guo created DL-92:
---------------------------
Summary: Simplify the state transition on stream
Key: DL-92
URL: https://issues.apache.org/jira/browse/DL-92
Project: DistributedLog
Issue Type: Improvement
Components: distributedlog-service
Affects Versions: 0.4.0
Reporter: Sijie Guo
Assignee: Sijie Guo
Simplify the state transition on stream
* the stream is created on INITIALIZING
* when the stream is started, it would start transition from INITIALIZING
to INITIALIZED
* it would serve stream operations when the stream is INITIALIZED
* it would be turned to ERROR when encountered exceptions.
* the stream would be closed when service operation timeout or encountered
any exceptions. it would first be removed from acquired mapping
* the stream would be removed from cached mapping depends on probation time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)