Sammi Chen created HDDS-4543:
--------------------------------
Summary: Failed to list keys when there are two bucket names with
same prefix
Key: HDDS-4543
URL: https://issues.apache.org/jira/browse/HDDS-4543
Project: Hadoop Distributed Data Store
Issue Type: Bug
Reporter: Sammi Chen
Assignee: Sammi Chen
For example, we have bucket named "hadoop" and another bucket named
"hadoop-ozone". It will return empty key list when we execute "sh key list
/s3v/hadoop" command.
"hadoop-ozone" and "hadoop" share the same prefix "hadoop".
There is a bug in listKeys implementation which failes to append "/" to seekKey
when prefix is null. Since "-" is ahead of "/" in order, so no key is returned
in the listKeys.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]