[
https://issues.apache.org/jira/browse/DL-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15766422#comment-15766422
]
ASF GitHub Bot commented on DL-92:
----------------------------------
Github user sijie closed the pull request at:
https://github.com/apache/incubator-distributedlog/pull/65
> 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: Leigh Stewart
>
> 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)