You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Krishna Kumar Asawa (Jira)" <ji...@apache.org> on 2024/11/15 10:35:00 UTC

[jira] [Assigned] (HDDS-11713) Use seek to reach the start transaction instead of looping table having millions of record

     [ https://issues.apache.org/jira/browse/HDDS-11713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishna Kumar Asawa reassigned HDDS-11713:
------------------------------------------

    Assignee: Ashish Kumar

> Use seek to reach the start transaction instead of looping table having millions of record
> ------------------------------------------------------------------------------------------
>
>                 Key: HDDS-11713
>                 URL: https://issues.apache.org/jira/browse/HDDS-11713
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ashish Kumar
>            Assignee: Ashish Kumar
>            Priority: Major
>
> [getFailedTransactions|https://github.com/apache/ozone/blob/12419fae1f0418793d952227364b04f1d2c3583b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DeletedBlockLogImpl.java#L142] keeps looping until startTxId is reached, which is too costly. Instead we should use seek to avoid this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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