You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Prashant Pogde (Jira)" <ji...@apache.org> on 2023/06/22 06:08:00 UTC

[jira] [Resolved] (HDDS-8497) Add leading zeroes on to report table to optimize get Page call of Snapdiff

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

Prashant Pogde resolved HDDS-8497.
----------------------------------
    Resolution: Fixed

> Add leading zeroes on to report table to optimize get Page call of Snapdiff
> ---------------------------------------------------------------------------
>
>                 Key: HDDS-8497
>                 URL: https://issues.apache.org/jira/browse/HDDS-8497
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>              Labels: pull-request-available
>
> Currently when we fetch a page on job report table from an offset value, we are are doing continuous get calls on the column family since the snapdiff reports pages are not lexicographically ordered. We can use the rocksdb iterator to scan keys on a column family to optimize instead. In order to use this we need to prepend leading zeroes on to the keys to have the pages in lexicographical ordering.



--
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