fix: enable xl.json to xl.meta only if legacy drive is found (#11255)

another optimization is renameLegacyMetadata() never needs
to validate bucket with os.Stat() again, leading to reduction
in one extra syscall.
This commit is contained in:
Harshavardhana
2021-01-11 02:27:04 -08:00
committed by GitHub
parent e8176fe978
commit e4e117faab
4 changed files with 109 additions and 29 deletions

BIN
cmd/testdata/xl.meta vendored Normal file

Binary file not shown.