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

The length of jfs_chunk slices is greater than 24 #4015

Closed
fengjiannan2010 opened this issue Aug 22, 2023 · 2 comments
Closed

The length of jfs_chunk slices is greater than 24 #4015

fengjiannan2010 opened this issue Aug 22, 2023 · 2 comments

Comments

@fengjiannan2010
Copy link

What happened:The length of jfs_chunk slices is greater than 24

What you expected to happen:I'm not sure if this is correct

How to reproduce it (as minimally and precisely as possible):Use the V1.0.4 code to run in goland debug mode, and make a breakpoint in the Write method in sql.go

Environment:

1692699273746

36fde80a698a2cfa7f95ab67982371a

added log output as below:

dc6b00a66b94e530f2b52ba071f29e1

@fengjiannan2010 fengjiannan2010 added the kind/bug Something isn't working label Aug 22, 2023
@SandyXSD
Copy link
Contributor

A chunk may contain multiple slices, thus it's size being N * 24 bytes.

@SandyXSD SandyXSD removed the kind/bug Something isn't working label Aug 22, 2023
@SandyXSD
Copy link
Contributor

From the internals doc:

Slices are an array of bytes, and each Slice corresponds to 24 bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants