[
https://issues.apache.org/jira/browse/HDFS-11779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042356#comment-16042356
]
Anu Engineer commented on HDFS-11779:
-------------------------------------
Sorry, I was not very clear. I was thinking about the case where the list is
happening and the continue call is made with the startKey. But if the startKey
to continue has been deleted, we need to handle it somehow or the client needs
to tell us how to continue. This is a corner case, but we had discussed that in
the list case. Even if you have snapshot taken, it is still possible to get
into that situation.
Here is the an example situation
1. A list call is made say from key1 to key100 is returned.
2. Someone deletes the key100
3. A list continue call is made with startKey=key100.
If this is handled already may be I missed it, if not it might be a good idea
to file a JIRA to track this so we don't forget it.
> Ozone: KSM: add listBuckets
> ---------------------------
>
> Key: HDFS-11779
> URL: https://issues.apache.org/jira/browse/HDFS-11779
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Anu Engineer
> Assignee: Weiwei Yang
> Attachments: HDFS-11779-HDFS-7240.001.patch,
> HDFS-11779-HDFS-7240.002.patch, HDFS-11779-HDFS-7240.003.patch,
> HDFS-11779-HDFS-7240.004.patch, HDFS-11779-HDFS-7240.005.patch,
> HDFS-11779-HDFS-7240.006.patch, HDFS-11779-HDFS-7240.007.patch,
> HDFS-11779-HDFS-7240.008.patch, HDFS-11779-HDFS-7240.009.patch,
> HDFS-11779-HDFS-7240.010.patch, HDFS-11779-HDFS-7240.011.patch,
> HDFS-11779-HDFS-7240.012.patch, HDFS-11779-HDFS-7240.013.patch,
> HDFS-11779-HDFS-7240.014.patch
>
>
> Lists buckets of a given volume. Similar to listVolumes, paging supported via
> prevKey, prefix and maxKeys.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]