You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Nanda kumar (JIRA)" <ji...@apache.org> on 2018/01/02 20:59:00 UTC

[jira] [Created] (HDFS-12980) Ozone: SCM: Restructuring container state transition and events

Nanda kumar created HDFS-12980:
----------------------------------

             Summary: 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org