Closed
Description
What happened:
meta_url=$meta_url /tmp/juicefs sync jfs://meta_url/test10/ jfs://meta_url/1002/ --list-threads 10 -v --list-depth 5 --check-all --links --dirs --perms --manager-addr=:1234 --worker chaos-k8s-002
root@chaos-k8s-001:~/chenyunhui/juicefs# ll /juicefs2/test10
total 16
drwxrwxrwx 4 user1 user1 4096 Apr 16 10:19 ./
drwxrwxrwx 33 root root 4096 Apr 16 15:57 ../
drwxrwxrwx 2 user1 user1 4096 Apr 16 10:20 vdb.1_1.dir/
drwxrwxrwx 2 user1 user1 4096 Apr 16 10:20 vdb.1_2.dir/
2025/04/16 15:58:21.652764 juicefs[2578384] <INFO>: [chaos-k8s-002] 1002/vdb.1_2.dir/vdb_f0024.file : uid -1 gid -1 [[email protected]:363] [[email protected]:353]
2025/04/16 15:58:21.655269 juicefs[2578384] <ERROR>: [chaos-k8s-002] error: Error 1264 (22003): Out of range value for column 'uid' at row 1 [[email protected]:347]
2025/04/16 15:58:21.655292 juicefs[2578384] <INFO>: [chaos-k8s-002] goroutine 136 [running]: [[email protected]:353]
2025/04/16 15:58:21.655306 juicefs[2578384] <INFO>: [chaos-k8s-002] runtime/debug.Stack() [[email protected]:353]
2025/04/16 15:58:21.655323 juicefs[2578384] <INFO>: [chaos-k8s-002] /usr/local/go/src/runtime/debug/stack.go:24 +0x5e [[email protected]:353]
2025/04/16 15:58:21.655336 juicefs[2578384] <INFO>: [chaos-k8s-002] github.com/juicedata/juicefs/pkg/meta.errno({0x4a46640, 0xc003adf380}) [[email protected]:353]
2025/04/16 15:58:21.655348 juicefs[2578384] <INFO>: [chaos-k8s-002] /root/zhijian/juicefs/pkg/meta/utils.go:127 +0xad [[email protected]:353]
2025/04/16 15:58:21.655366 juicefs[2578384] <INFO>: [chaos-k8s-002] github.com/juicedata/juicefs/pkg/meta.(*dbMeta).doSetAttr(0xc0006fe100, {0x4aa4fe0?, 0xc000425ec0?}, 0x348c10, 0x2898?, 0x49?, 0xc000122498?) [[email protected]:353]
2025/04/16 15:58:21.655381 juicefs[2578384] <INFO>: [chaos-k8s-002] /root/zhijian/juicefs/pkg/meta/sql.go:1286 +0xa5 [[email protected]:353]
2025/04/16 15:58:21.655397 juicefs[2578384] <INFO>: [chaos-k8s-002] github.com/juicedata/juicefs/pkg/meta.(*baseMeta).SetAttr(0xc001580000, {0x4aa4fe0, 0xc000425ec0}, 0x348c10, 0xd280?, 0xd9?, 0x4aca01?) [[email protected]:353]
2025/04/16 15:58:21.655410 juicefs[2578384] <INFO>: [chaos-k8s-002] /root/zhijian/juicefs/pkg/meta/base.go:1084 +0x114 [[email protected]:353]
2025/04/16 15:58:21.655425 juicefs[2578384] <INFO>: [chaos-k8s-002] github.com/juicedata/juicefs/pkg/fs.(*File).Chown(0xc003c8e480, {0x4aa4fe0?, 0xc000425ec0}, 0xffffffff, 0xffffffff) [[email protected]:353]
2025/04/16 15:58:21.655440 juicefs[2578384] <INFO>: [chaos-k8s-002] /root/zhijian/juicefs/pkg/fs/fs.go:1108 +0x27a
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:
- JuiceFS version (use
juicefs --version
) or Hadoop Java SDK version: - Cloud provider or hardware configuration running JuiceFS:
- OS (e.g
cat /etc/os-release
): - Kernel (e.g.
uname -a
): - Object storage (cloud provider and region, or self maintained):
- Metadata engine info (version, cloud provider managed or self maintained):
- Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
- Others: