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

2024-11-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated HDDS-11713:
--
Labels: pull-request-available  (was: )

> 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
>  Labels: pull-request-available
>
> [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-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org



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

2024-11-15 Thread Ashish Kumar (Jira)


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

Ashish Kumar updated HDDS-11713:

Description: 
[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.  (was: [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.)

> 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
>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-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org