[
https://issues.apache.org/jira/browse/HDFS-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086871#comment-16086871
]
Nandakumar commented on HDFS-12083:
-----------------------------------
Thanks [~vagarychen] for the review.
This patch doesn't change the behavior of {{LevelDBStore#getRangeKVs}}, even
before this patch we cannot do a getRangeKVs call with some unknown "start key".
This patch removes previous key from the result of {{LevelDBStore#getRangeKVs}}
in {{MetadataManagerImpl}}'s listVolumes, listBuckets and listKeys.
> Ozone: KSM: previous key has to be excluded from result in listVolumes,
> listBuckets and listKeys
> ------------------------------------------------------------------------------------------------
>
> Key: HDFS-12083
> URL: https://issues.apache.org/jira/browse/HDFS-12083
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Nandakumar
> Assignee: Nandakumar
> Priority: Critical
> Attachments: HDFS-12083-HDFS-7240.000.patch,
> HDFS-12083-HDFS-7240.001.patch
>
>
> When previous key is set as part of list calls [listVolume, listBuckets &
> listKeys], the result includes previous key, there is no need to have this in
> the result.
> Since previous key is present as part of result, we will never receive an
> empty list in the subsequent list calls, this makes it difficult to have a
> exit criteria where we want to get all the values using multiple list calls
> (with previous-key set).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]