v1.0.2

juicedata/juicefsv1.0.2Oct 14, 2022by SandyXSD

AI Summary

This is the first patch release for v1.0, focusing on improvements to the sync command, object storage configuration options, and Hadoop integration.

Key Highlights

  • Sync uid/gid even if user/group doesn't exist
  • Support MinIO region via environment variable
  • Support private region for KS3
  • Support umask for directories
  • Support nest juicefs-hadoop.jar in Spring-Boot

New Features

  • New sync options (e.g., `--manager-addr`, `--existing`, `--ignore-existing`)
  • TLS options for Redis meta
  • Schema option for Postgres meta
  • Copy interface for objects
  • Replication config for HDFS
  • Hadoop `no-session` option

Full Release Notes

This is the first patch release (v1.0.1 is broken) for JuiceFS v1.0. It has 32 commits from 10 contributors, thanks to @davies @zhijian-pro @tangyoupeng @SandyXSD @timfeirg @201341 @pigletfly @dugusword @Arvintian @zwwhdls !

# Changed

- cmd/sync: sync uid/gid even if the user/group does not exist (#2502)
- meta/badger: improve the performance to reset the database (#2811)
- vfs: flush data and close fd even if the close is interrupted (#2745)
- object/minio: support setting MinIO region via an environment variable (#2673)
- object/ks3: support private region for KS3 (#2812)
- gateway: support specifying umask for directories (#2445)
- hadoop: support nest juicefs-hadoop.jar in spring-boot (#2756)

# Bugfix

- cmd/format: fix the issue that schema in bucket address is not properly handled (#2749)
- cmd/objbench: fix the issue that bucket is not automatically created when objbench is run with skip-functional-tests (#2773)
- cmd/sync: fix the issue that '\\' is wrongly replaced for non-windows system  (#2778)
- meta/pg: fix the issue that PostgreSQL does not recognize Unix domain socket properly (#2607)
- chunk/cache: fix the issue that client may crash if there are invalid files in the cache dir (#2686)
- vfs: fix the issue on Linux that entries are still visible after `rmr` finishes (#2776, #2838)
- vfs/backup: fix the issue that metadata backup may fail because the client cannot access /tmp (#2707)
- utils: fix the issue on Windows that logger prints color control codes (but no color) (#2567)
- compress: fix the issue that client may crash if input is empty for LZ4 decompressing (#2499)
- gateway: fix the issue that file descriptors may leak in gateway (#2661)
- hadoop: fix the issue that trash emptier may fail because of no permission (#2512)
- hadoop: fix the issue that relative paths are not properly qualified (#2696, #2709)
- hadoop: fix the issue that juicefs.umask is not properly applied when creating parent dir (#2833)
- arch: fix the issue on 32bits system that client may crash because of unaligned atomic operation (#2703)
- arch: fix the issue on 32bits system that `readAheadTotal` may overflow (#2726)