8000 [Buffer Manager] Add PageID and Frame primitives for the buffer manager by nikriek · Pull Request #2618 · hyrise/hyrise · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Buffer Manager] Add PageID and 8000 Frame primitives for the buffer manager #2618

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

Merged

Conversation

nikriek
Copy link
Contributor
@nikriek nikriek commented Oct 12, 2023

As explained in our discussion #2617, we add the basic primitives for the PageID and Frame. PageID is used for the addressing of pages in a buffer manager. Frame stores the state of a page and also helps with synchronization.

@nikriek nikriek marked this pull request as ready for review October 12, 2023 14:32
@Bouncner Bouncner added the FullCI Run all CI tests (slow, but required for merge) label Oct 12, 2023
Copy link
Collaborator
@mweisgut mweisgut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a partial review so far. I must look further into frame.cpp and the tests. Since this is not a trivial project, more documentation in the header files might help to understand the code.

Copy link
Collaborator
@Bouncner Bouncner left a comment
8000

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't looked at the tests yet.

I have several questions on the atomics. In some cases your code might be absolutely correct but the assumptions are hidden, why some things are safe to do.
And for other occasions, I probably just don't understand what you are doing. Good sign that a clarifying comment might help here. :)

Copy link
Member
@dey4ss dey4ss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too much to add to what @Bouncner and @mweisgut already pointed out

Copy link
Collaborator
@mweisgut mweisgut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainly minor documantation comments.

Feel free to add yourself to the list of Contributors.

nikriek and others added 10 commits October 26, 2023 19:15
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
….com:nikriek/hyrise into nikriek/buffer-manager/add-frame-and-page-id
nikriek and others added 3 commits October 27, 2023 11:05
Co-authored-by: Marcel Weisgut <marcel.weisgut@hpi.de>
….com:nikriek/hyrise into nikriek/buffer-manager/add-frame-and-page-id
@nikriek nikriek merged commit e6ebb17 into hyrise:master Nov 2, 2023
@nikriek nikriek deleted the nikriek/buffer-manager/add-frame-and-page-id branch November 2, 2023 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FullCI Run all CI tests (slow, but required for merge)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0