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

parseUpdateLog处好像有个bug #7

Open
huyi1998 opened this issue May 19, 2022 · 2 comments
Open

parseUpdateLog处好像有个bug #7

huyi1998 opened this issue May 19, 2022 · 2 comments

Comments

@huyi1998
Copy link

huyi1998 commented May 19, 2022

uid由offset和pgno组成,pgno占高32位,offset占低32位

@gulugulugulu9
Copy link

你好请问一下,您认为这个值得认真看然后改进作为校招项目吗?

@01Petard
Copy link

挖坟,我页在看这个项目,但是作者定义的时候就是有浪费的。
static class UpdateLogInfo {
long xid;
int pgno;
short offset;
byte[] oldRaw;
byte[] newRaw;
}
这里offset是short,所以给低16位没问题,只是中间16位确实是被浪费了

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

3 participants