v1.1.1

juicedata/juicefsv1.1.1Nov 28, 2023by SandyXSD

AI Summary

This is the first patch release for v1.1, introducing optimizations for quota calculations and increasing batch sizes for metadata operations, alongside several bug fixes.

Key Highlights

  • Set quota limitation before calculation to prevent errors
  • Increase inodeBatch and sliceIdBatch for performance
  • Fix password leak when containing @ symbol
  • Fix symlink copying and checksum issues
  • Fix flock conversion between exclusive and shared locks

Full Release Notes

This is the first patch release for JuiceFS v1.1. It has 17 commits from 6 contributors, thanks to @zhijian-pro @davies @Hexilee @SandyXSD @tangyoupeng @fengleng !

# Changed

- cmd/quota: set limitation before calculating the used stats (#4158)
- meta: increase inodeBatch & sliceIdBatch (#4188)
- meta: skip cleaning session when sid is 0 (#4133)
- deps: upgrade golang/x/net to 0.17 (#4136)

# Bugfix

- cmd/gateway: create the parent directory of the target on demand when copying an object (#4058)
- cmd/restore: fix the issue that dirStats and quota are not properly set (#4095)
- cmd/sync: fix copying times, owner and mode of symlinks (#4151)
- cmd/sync: fix the issue that checksum are wrongly calculated for symlinks (#4082)
- cmd & object: fix incorrect paths in Windows (#4138)
- meta: allow flock converting current exclusive lock to a shared lock (#4179)
- meta: fix possible password leak when it contains the `@` symbol (#4071)
- meta/mysql: don't escape the mysql password (#4069)
- meta/tkv: fix offset overflow in CopyFileRange  (#4130)
- meta/tkv: fix the issue that `info` command may wrongly fail on read-only mountpoint (#4085)
- object: skip listing directories with no permission (#4125)
- object/s3: fix nil when StorageClass is missing from List (#4183)
- hadoop: fix guid refresh by avoid using closed fs (#4180)