Skip to content

Commit

Permalink
Page storage bug fix (pingcap#87)
Browse files Browse the repository at this point in the history
* add test cases for PageStorage

* split PageStorage gc stage into small helper functions

* add test cases for PageStorage gc concurrency

* add stress test and dump utils of PageStorage

* Fix bug:
1. ensure PageFile with meta && data, in case gc drop file but be killed before drop dir
2. turn PageStorage::Config::sync_on_write = true by default
3. avoid PageStorage::gc run by multi-threads
4. print PageFile's path if checksum is not correct

* throw exception for must_exist==false and errno != ENOENT
  • Loading branch information
JaySon-Huang committed Jul 16, 2019
1 parent f2fc64e commit 123a5fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dbms/src/Storages/Page/tests/utils_get_valid_pages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ int main(int argc, char ** argv)

return 0;
}

0 comments on commit 123a5fe

Please sign in to comment.