We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e4b7a commit 17dda0aCopy full SHA for 17dda0a
1 file changed
src/database/engine/pdc.c
@@ -842,7 +842,7 @@ VALIDATED_PAGE_DESCRIPTOR validate_page(
842
// If gorilla can not compress the data we might end up needing slightly more
843
// than 4KiB. However, gorilla pages extend the page length by increments of
844
// 512 bytes.
845
- max_page_length += ((page_type == RRDENG_PAGE_TYPE_GORILLA_32BIT) * RRDENG_GORILLA_32BIT_BUFFER_SIZE);
+ max_page_length += ((page_type == RRDENG_PAGE_TYPE_GORILLA_32BIT) * (2 * RRDENG_GORILLA_32BIT_BUFFER_SIZE));
846
847
if (!known_page_type ||
848
have_read_error ||
0 commit comments