[ https://issues.apache.org/jira/browse/HDDS-1379?focusedWorklogId=223249&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223249 ]
ASF GitHub Bot logged work on HDDS-1379: ---------------------------------------- Author: ASF GitHub Bot Created on: 04/Apr/19 21:03 Start Date: 04/Apr/19 21:03 Worklog Time Spent: 10m Work Description: bharatviswa504 commented on pull request #689: HDDS-1379. Convert all OM Volume related operations to HA model. URL: https://github.com/apache/hadoop/pull/689#discussion_r272366957 ########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java ########## @@ -1594,6 +1598,107 @@ public void createVolume(OmVolumeArgs args) throws IOException { } } + @Override + public VolumeList startCreateVolume(OmVolumeArgs args) throws IOException { + try { + // TODO: Need to add metrics and Audit log for HA requests Review comment: Filed https://issues.apache.org/jira/browse/HDDS-1392 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 223249) Time Spent: 3.5h (was: 3h 20m) > Convert all OM Volume related operations to HA model > ---------------------------------------------------- > > Key: HDDS-1379 > URL: https://issues.apache.org/jira/browse/HDDS-1379 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Bharat Viswanadham > Assignee: Bharat Viswanadham > Priority: Major > Labels: pull-request-available > Time Spent: 3.5h > Remaining Estimate: 0h > > In this jira, we shall convert all OM related operations to OM HA model, > which is a 2 step. > # StartTransaction, where we validate request and check for any errors and > return the response. > # ApplyTransaction, where original OM request will have a response which > needs to be applied to OM DB. This step is just to apply response to Om DB. > In this way, all requests which are failed with like volume not found or some > conditions which i have not satisfied like when deleting volume should be > empty, these all will be executed during startTransaction, and if it fails > these requests will not be written to raft log also. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org