[ 
https://issues.apache.org/jira/browse/HDDS-1618?focusedWorklogId=254545&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-254545
 ]

ASF GitHub Bot logged work on HDDS-1618:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jun/19 18:19
            Start Date: 05/Jun/19 18:19
    Worklog Time Spent: 10m 
      Work Description: hanishakoneru commented on pull request #877: 
HDDS-1618. Merge code for HA and Non-HA OM write type requests for bucket
URL: https://github.com/apache/hadoop/pull/877#discussion_r290492749
 
 

 ##########
 File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/OMVolumeCreateResponse.java
 ##########
 @@ -66,5 +66,16 @@ public OmVolumeArgs getOmVolumeArgs() {
     return omVolumeArgs;
   }
 
+  @Override
+  public void addResponseToOMDB(OMMetadataManager omMetadataManager)
+      throws IOException {
+    String dbVolumeKey =
+        omMetadataManager.getVolumeKey(omVolumeArgs.getVolume());
+    String dbUserKey =
+        omMetadataManager.getUserKey(omVolumeArgs.getOwnerName());
+
+    omMetadataManager.getVolumeTable().put(dbVolumeKey, omVolumeArgs);
+    omMetadataManager.getUserTable().put(dbUserKey, volumeList);
 
 Review comment:
   Does the volumeList include the previous volumes owned by the user or just 
the current volume?
 
----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 254545)
    Time Spent: 1h 40m  (was: 1.5h)

> Merge code for HA and Non-HA OM requests for bucket
> ---------------------------------------------------
>
>                 Key: HDDS-1618
>                 URL: https://issues.apache.org/jira/browse/HDDS-1618
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> In this Jira, we shall use the new code added in HDDS-1551 for Non-HA flow.
>  
> This Jira modifies the bucket requests only, further requests will be handled 
> in further Jira's.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to