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

[WIP] [FLASH-319/343/344] PageSotrage MVCC && Snapshot read #138

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
62197f1
MVCC on PageMap, All previse tests passed. TODO: refactor on read_mut…
JaySon-Huang Jun 27, 2019
79235e7
PageStorage gc: only delete file that are not used by any version
JaySon-Huang Jun 28, 2019
7bcea70
fix bug under multi-threads;
JaySon-Huang Jul 3, 2019
547a82e
1. support snapshot read
JaySon-Huang Jul 8, 2019
5294020
add test for PageStorage snapshot read
JaySon-Huang Jul 10, 2019
ddbece0
use typed test
JaySon-Huang Jul 10, 2019
2a8b6a9
Bug fix: Add RefPage to non exist Page
JaySon-Huang Jul 11, 2019
5d8fa24
fix bug
JaySon-Huang Jul 16, 2019
b342dcb
1. Apply merge delta if no read ref
JaySon-Huang Jul 10, 2019
1d8bf59
Delta merged when view is finished
JaySon-Huang Jul 17, 2019
af3b020
1. VersionDeltaSet: add snapshots for snapshot linked-list, so that g…
JaySon-Huang Jul 18, 2019
385a781
do compact on delta -> base
JaySon-Huang Jul 19, 2019
4c62515
rebase after do compact on delta
JaySon-Huang Jul 19, 2019
2e87e20
fix bugs
JaySon-Huang Jul 22, 2019
852534f
avoid duplicted codes
JaySon-Huang Jul 22, 2019
5445a0a
1. new find API
JaySon-Huang Jul 23, 2019
2ca8954
1. remove legacy API
JaySon-Huang Jul 23, 2019
4b0de77
reformat
JaySon-Huang Jul 23, 2019
63334e2
apply inplace if there are no readers
JaySon-Huang Jul 23, 2019
8c7c682
fix bug of applying edits
JaySon-Huang Jul 24, 2019
330c687
fix bug of gc apply
JaySon-Huang Jul 24, 2019
ae34921
fix bug of merging PageEntryMap
JaySon-Huang Jul 24, 2019
2dca931
fix bug of invalid ref page
JaySon-Huang Jul 24, 2019
3c771c0
fix bug:
JaySon-Huang Jul 24, 2019
a54342a
fixbug
JaySon-Huang Jul 24, 2019
0df4438
tmp
JaySon-Huang Jul 24, 2019
f09ec26
split PageEntryMapView to single cpp file
JaySon-Huang Jul 24, 2019
92d0aef
minor fix
JaySon-Huang Jul 25, 2019
7ac88d7
1. Avoid visit same version multiple time in PageEntryMapDeltaVersion…
JaySon-Huang Jul 25, 2019
2d13ba5
todo mark
JaySon-Huang Jul 25, 2019
03c8ddf
Merge branch 'jayson/PS_RefPages' into jayson/PS_delta_version
JaySon-Huang Jul 25, 2019
f09e977
remove unused function
JaySon-Huang Jul 25, 2019
56d45d2
fix bug: PageEntryMapView::isRefId
JaySon-Huang Jul 26, 2019
a809888
fix bug: PageEntryMapDeltaBuilder::applyPut
JaySon-Huang Jul 26, 2019
e491382
fix
JaySon-Huang Jul 26, 2019
eea8391
Merge branch 'jayson/PS_RefPages_MVCC' into jayson/PS_delta_version
JaySon-Huang Jul 29, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dbms/src/IO/WriteHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -816,4 +816,12 @@ toString(const T & x, int precision)
return ss.str();
}

/// Pointer to a string
inline String pToString(const void * const p)
{
std::stringstream ss;
ss << p;
return ss.str();
}

}
41 changes: 0 additions & 41 deletions dbms/src/Storages/Page/PageEntryMap.cpp

This file was deleted.

Loading