You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/06/02 16:40:00 UTC

[jira] [Created] (HDDS-5292) Introduce WritableContainerInterface to SCM

Stephen O'Donnell created HDDS-5292:
---------------------------------------

             Summary: Introduce WritableContainerInterface to SCM
                 Key: HDDS-5292
                 URL: https://issues.apache.org/jira/browse/HDDS-5292
             Project: Apache Ozone
          Issue Type: Improvement
          Components: SCM
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


When implementing EC, we need to allocate blocks to containers on EC pipelines as well as Ratis pipelines (the current code path). The class `BlockManager.allocateBlock(...)` currently does this work.

To allow EC implementation to progress more smoothly, I would like to have BlockManager user a new interface to obtain a container for a block, namely the WritableContainerProvider interface.

This change is just a refactor to add the interface. Existing functionality is unchanged.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org