Hi,
zenfs list fails with the trailing slash in the --path:
yura@hirsute:~/wdc/scripts$ ./zenfs list --zbd=nullb0 --path=./.rocksdb
0 Aug 09 2021 14:59:20 LOCK
4096 Aug 09 2021 14:59:20 archive
1522 Aug 09 2021 14:59:35 000061.sst
1260 Aug 09 2021 14:59:36 000065.sst
117 Aug 09 2021 14:59:37 000069.log
1556 Aug 09 2021 14:59:37 000070.sst
16 Aug 09 2021 14:59:33 CURRENT
37 Aug 09 2021 14:59:20 IDENTITY
1832 Aug 09 2021 14:59:37 MANIFEST-000048
9786 Aug 09 2021 14:59:33 OPTIONS-000053
9787 Aug 09 2021 14:59:33 OPTIONS-000055
yura@hirsute:~/wdc/scripts$ ./zenfs list --zbd=nullb0 --path=./.rocksdb/
0 Aug 09 2021 14:59:20 LOCK
4096 Aug 09 2021 14:59:20 archive
Failed to get size of file 000061.sst
The message Failed to get size of file 000061.sst is misleading and the issue should be fixed.
Hi,
zenfs list
fails with the trailing slash in the--path
:The message
Failed to get size of file 000061.sst
is misleading and the issue should be fixed.