Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acl redis tryLoadMissACLs panic #4521

Closed
tangyoupeng opened this issue Mar 15, 2024 · 0 comments · Fixed by #4523
Closed

acl redis tryLoadMissACLs panic #4521

tangyoupeng opened this issue Mar 15, 2024 · 0 comments · Fixed by #4523
Assignees
Labels
kind/bug Something isn't working

Comments

@tangyoupeng
Copy link
Contributor

panic: interface conversion: interface {} is string, not []uint8

goroutine 17 [running, locked to thread]:
github.com/juicedata/juicefs/pkg/meta.(*redisMeta).tryLoadMissACLs(0x14000156230, {0x29afe7688?, 0x14000fb2c40}, 0x14000bdf320)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/redis.go:4779 +0x2b0
github.com/juicedata/juicefs/pkg/meta.(*redisMeta).doMknod.func1(0x14000bdf320)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/redis.go:1367 +0x5a4
github.com/juicedata/juicefs/pkg/meta.replaceErrno.func1(0x14000d12000?)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/redis.go:904 +0x24
github.com/redis/go-redis/v9.(*Client).Watch(0x14000fead80?, {0x12a38f318, 0x14000fb2c40}, 0x14000b2a690, {0x14000fbca60, 0x2, 0x2})
	/Users/tangyoupeng/go/pkg/mod/github.com/redis/go-redis/[email protected]/tx.go:67 +0xb4
github.com/juicedata/juicefs/pkg/meta.(*redisMeta).txn(0x14000156230, {0x29afe7688?, 0x14000fb2c40}, 0x29a74ddb0?, {0x14000fbca60?, 0x2, 0x2})
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/redis.go:937 +0x33c
github.com/juicedata/juicefs/pkg/meta.(*redisMeta).doMknod(0x14000156230, {0x29afe7688?, 0x14000fb2c40}, 0x802, {0x1400005628f, 0x8}, 0x2, 0x1ff, 0x12, 0x0, ...)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/redis.go:1300 +0x3f0
github.com/juicedata/juicefs/pkg/meta.(*baseMeta).Mknod(0x1400021aa00, {0x29afe7688, 0x14000fb2c40}, 0x802, {0x1400005628f, 0x8}, 0x2, 0xfb?, 0x140?, 0x98057aac?, ...)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/base.go:1401 +0x210
github.com/juicedata/juicefs/pkg/meta.(*baseMeta).Mkdir(0x1400021aa00, {0x29afe7688?, 0x14000fb2c40?}, 0x802, {0x1400005628f?, 0x299899384?}, 0x8?, 0x0?, 0x0?, 0x1400005f658, ...)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/meta/base.go:1425 +0x58
github.com/juicedata/juicefs/pkg/fs.(*FileSystem).Mkdir(0x14000215a40, {0x29afe7688?, 0x14000fb2c40}, {0x14000056270, 0x27}, 0x1ff, 0x9afe?)
	/Users/tangyoupeng/Work/code/project/juicefs/pkg/fs/fs.go:441 +0x308
main.jfs_mkdir(0x1400010e000?, 0x0?, 0x16d179301?, 0x2680?, 0x0?)
	/Users/tangyoupeng/Work/code/project/juicefs/sdk/java/libjfs/main.go:783 +0x84
@tangyoupeng tangyoupeng added the kind/bug Something isn't working label Mar 15, 2024
@tangyoupeng tangyoupeng changed the title acl tryLoadMissACLs panic acl redis tryLoadMissACLs panic Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants