Skip to content

Split large pages in TempSingleStreamSpiller#15529

Merged
rschlussel merged 1 commit intoprestodb:masterfrom
rschlussel:split-tempfs-spill
Dec 17, 2020
Merged

Split large pages in TempSingleStreamSpiller#15529
rschlussel merged 1 commit intoprestodb:masterfrom
rschlussel:split-tempfs-spill

Conversation

@rschlussel
Copy link
Contributor

This prevents int overflow when serializing pages, since page
serialization requires the page size in bytes to fit in an integer.

Test plan - None

== RELEASE NOTES ==

General Changes
* Fix a possible int overflow error when spilling to temp storage

@rschlussel
Copy link
Contributor Author

Previously did this for the FileSingleStreamSpiller #15403

Copy link
Contributor

@wenleix wenleix left a comment

Choose a reason for hiding this comment

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

LGTM.

Maybe also mention in the commit this is done for FileSingleStreamSpiller in
in f61df1b ?

This prevents int overflow when serializing pages, since page
serialization requires the page size in bytes to fit in an integer.

Was already added for FileSingleStreamSpiller at commit f61df1b
@rschlussel rschlussel merged commit a68b96b into prestodb:master Dec 17, 2020
@caithagoras caithagoras mentioned this pull request Jan 11, 2021
5 tasks
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.

2 participants