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

Updates in P-Masstree #11

Merged
merged 5 commits into from
Aug 29, 2020
Merged

Updates in P-Masstree #11

merged 5 commits into from
Aug 29, 2020

Conversation

SeKwonLee
Copy link
Member

The implementation of P-Masstree is updated to use optimistic locks for reading paths (get, scan, and tree traversals) instead of atomic snapshot techniques employed in the prior version. The original Masstree also employs optimistic locks, so these updates just result in making P-Masstree more faithfully follow the original way of implementation. Another benefit from this update is P-Masstree can provide read-committed without employing non-temporal stores since readers in P-Masstree never return data before in-progress writes to the same object are finished.

SeKwonLee and others added 5 commits August 25, 2020 20:57
Use non-temporal stores for final commit stores
Add some optimizations by using optimistic locking
1. Done for insert, lookup, scan
2. Still working for delete
1. Done for testing insert, lookup, delete, scan
2. Modified to use optimistic locking
3. Provide read-committed without using non-temporal stores
@SeKwonLee SeKwonLee merged commit bab7b1f into master Aug 29, 2020
@SeKwonLee SeKwonLee deleted the ntstore branch August 30, 2020 04:07
@SeKwonLee SeKwonLee linked an issue Sep 6, 2020 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Read committed
1 participant