Documented subtle hack; TallocPage() really needs a way to set page type at recovery. Currently, this just doesn't happen, since page types are lazily set.
Perhaps Talloc() could handle it?
This commit is contained in:
parent
8485cc7fe1
commit
45a5996215
1 changed files with 4 additions and 0 deletions
|
@ -559,6 +559,10 @@ recordid slottedPostRalloc(int xid, Page * page, lsn_t lsn, recordid rid) {
|
|||
updating the storefile without first locking any pages
|
||||
that suffer from this problem.
|
||||
|
||||
Also, this only works because pages that are of type
|
||||
BOUNDARY_TAG_PAGE are guaranteed to have their page type
|
||||
set before recovery calls this function.
|
||||
|
||||
*/
|
||||
|
||||
slottedPageInitialize(page);
|
||||
|
|
Loading…
Reference in a new issue