[ https://issues.apache.org/jira/browse/HDFS-12980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308702#comment-16308702
]
Nanda kumar commented on HDFS-12980:
------------------------------------
*Event and State Transition Mapping*
{noformat}
State: ALLOCATED ---------------> CREATING
Event: CREATE
State: CREATING ---------------> OPEN
Event: CREATED
State: OPEN ---------------> CLOSING
Event: FINALIZE
State: CLOSING ---------------> CLOSED
Event: CLOSE
State: CLOSED ----------------> DELETING
Event: DELETE
State: DELETING ----------------> DELETED
Event: CLEANUP
State: CREATING ---------------> DELETING
Event: TIMEOUT
{noformat}
> Ozone: SCM: Restructuring container state transition and events
> ---------------------------------------------------------------
>
> Key: HDFS-12980
> URL: https://issues.apache.org/jira/browse/HDFS-12980
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Nanda kumar
> Assignee: Nanda kumar
>
> Existing state transition of containers
> {noformat}
> ALLOCATED --------------> CREATING ------------------> OPEN ----------------->
PENDING_CLOSE ----------> CLOSED
> (BEGIN_CREATE) | (COMPLETE_CREATE) | (FULL_CONTAINER)
(CLOSE)
> | |
> | |
> | (TIMEOUT) | (DELETE)
> | |
> +---------> DELETING <------+
> |
> |
> | (CLEANUP)
> |
> DELETED
> {noformat}
> We don't have support for deleting a CLOSED container in this.
> *Proposal*
> {noformat}
> [ALLOCATED]------->[CREATING]--------->[OPEN]---------->[CLOSING]------->[CLOSED]
> (CREATE) | (CREATED) (FINALIZE) (CLOSE) |
> | |
> | |
> |(TIMEOUT) (DELETE)|
> | |
> +------------------> [DELETING] <-------------------+
> |
> |
> (CLEANUP)|
> |
> [DELETED]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org
|