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

Attila Doroszlai resolved HDDS-13318.
-------------------------------------
    Fix Version/s: 2.1.0
       Resolution: Implemented

> Simplify the Table.getRangeKVs methods
> --------------------------------------
>
>                 Key: HDDS-13318
>                 URL: https://issues.apache.org/jira/browse/HDDS-13318
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: db
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.1.0
>
>
> In Table,
> - Combine getRangeKVs and getSequentialRangeKVs into one method.
> - Change the parameter MetadataKeyFilter... filters to non-varargs since the 
> size is always <= 1.
> - Remove the preKey and nextKey parameters from MetadataKeyFilter since they 
> are always null as mentioned in the comment below.
> {code}
> // RDBTable.java
>           // NOTE: the preKey and nextKey are never checked
>           // in all existing underlying filters, so they could
>           // be safely as null here.
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to