Sadanand Shenoy created HDDS-5866:
-------------------------------------
Summary: Discrepancy in Trash directory in ofs vs o3fs
Key: HDDS-5866
URL: https://issues.apache.org/jira/browse/HDDS-5866
Project: Apache Ozone
Issue Type: Bug
Reporter: Sadanand Shenoy
Assignee: Sadanand Shenoy
The renamed destination keys are different for ofs and o3fs.
{code:java}
# ozone fs -rm o3fs://xyz.abc.ozone1/o3fs
21/10/11 11:22:31 INFO Configuration.deprecation: io.bytes.per.checksum is
deprecated. Instead, use dfs.bytes-per-checksum
21/10/11 11:22:31 INFO fs.TrashPolicyDefault: Moved:
'o3fs://xyz.abc.ozone1/o3fs' to trash at: /.Trash/om/Current/o3fs
# ozone fs -rm ofs://ozone1/abc/xyz/ofs
21/10/11 11:22:00 INFO Configuration.deprecation: io.bytes.per.checksum is
deprecated. Instead, use dfs.bytes-per-checksum
21/10/11 11:22:00 INFO fs.TrashPolicyDefault: Moved: 'ofs://ozone1/abc/xyz/ofs'
to trash at: ofs://ozone1/abc/xyz/.Trash/om/Current/abc/xyz/ofs
# ozone fs -ls -R ofs://ozone1/abc/xyz
-rw-rw-rw- 3 om om 0 2021-10-11 11:22
ofs://ozone1/abc/xyz/.Trash/om/Current/abc/xyz/ofs
-rw-rw-rw- 3 om om 0 2021-10-11 11:22
ofs://ozone1/abc/xyz/.Trash/om/Current/o3fs
{code}
Omitting the volume and bucket name from OFS trash key name since its redundant.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]