hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1391) Add ability in OM to serve delta updates through an API.
Date Thu, 25 Jul 2019 22:43:01 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 25/Jul/19 22:42
            Start Date: 25/Jul/19 22:42
    Worklog Time Spent: 10m 
      Work Description: arp7 commented on pull request #1033: HDDS-1391 : Add ability in OM
to serve delta updates through an API.
URL: https://github.com/apache/hadoop/pull/1033#discussion_r307527924
 
 

 ##########
 File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/RDBStore.java
 ##########
 @@ -327,6 +329,44 @@ public CodecRegistry getCodecRegistry() {
     return codecRegistry;
   }
 
+  @Override
+  public DBUpdatesWrapper getUpdatesSince(long sequenceNumber)
+      throws SequenceNumberNotFoundException {
+
+    DBUpdatesWrapper dbUpdatesWrapper = new DBUpdatesWrapper();
+    try {
+      TransactionLogIterator transactionLogIterator =
+          db.getUpdatesSince(sequenceNumber);
+
+      boolean flag = true;
 
 Review comment:
   Can you give this a more descriptive name?
 
----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 282965)
    Time Spent: 3h 10m  (was: 3h)

> Add ability in OM to serve delta updates through an API.
> --------------------------------------------------------
>
>                 Key: HDDS-1391
>                 URL: https://issues.apache.org/jira/browse/HDDS-1391
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: Ozone Manager
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.5.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Added an RPC end point to serve the set of updates in OM RocksDB from a given sequence
number.
> This will be used by Recon (HDDS-1105) to push the data to all the tasks that will keep
their aggregate data up to date. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message