[
https://issues.apache.org/jira/browse/HDDS-1775?focusedWorklogId=277715&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-277715
]
ASF GitHub Bot logged work on HDDS-1775:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jul/19 20:00
Start Date: 16/Jul/19 20:00
Worklog Time Spent: 10m
Work Description: bharatviswa504 commented on pull request #1063:
HDDS-1775. Make OM KeyDeletingService compatible with HA model
URL: https://github.com/apache/hadoop/pull/1063#discussion_r304093467
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyPurgeRequest.java
##########
@@ -0,0 +1,50 @@
+package org.apache.hadoop.ozone.om.request.key;
+
+import org.apache.hadoop.ozone.om.OzoneManager;
+import org.apache.hadoop.ozone.om.request.OMClientRequest;
+import org.apache.hadoop.ozone.om.response.OMClientResponse;
+import org.apache.hadoop.ozone.om.response.key.OMKeyPurgeResponse;
+import org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos;
+import
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMRequest;
+import
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse;
+import
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.PurgeKeysRequest;
+import
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.Status;
+import org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.Type;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.List;
+
+/**
+ * Handles purging of keys from OM DB.
+ */
+public class OMKeyPurgeRequest extends OMClientRequest
+ implements OMKeyRequest {
Review comment:
OMKeyRequest is changed to abstract class in the latest trunk
----------------------------------------------------------------
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: 277715)
Time Spent: 2.5h (was: 2h 20m)
> Make OM KeyDeletingService compatible with HA model
> ---------------------------------------------------
>
> Key: HDDS-1775
> URL: https://issues.apache.org/jira/browse/HDDS-1775
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Currently OM KeyDeletingService directly deletes all the keys in DeletedTable
> after deleting the corresponding blocks through SCM. For HA compatibility,
> the key purging should happen through the OM Ratis server. This Jira
> introduces PurgeKeys request in OM protocol. This request will be submitted
> to OMs Ratis server after SCM deletes blocks corresponding to deleted keys.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]