Ashish Kumar created HDDS-11713:
-----------------------------------
Summary: 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
[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: [email protected]
For additional commands, e-mail: [email protected]