From 40f97385c32b6693a0454a5359b18ba91b22e323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Ronstr=C3=B6m?= Date: Wed, 24 Jul 2024 18:43:40 +0200 Subject: [PATCH] A log record can span 3 log pages, needs to ensure that stepAhead function have all 3 log pages before called --- storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp b/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp index fdaeda86119d..245dc5191f0c 100644 --- a/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp +++ b/storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp @@ -108,7 +108,7 @@ class FsReadWriteReq; #define ZMAX_MM_BUFFER_SIZE 32 // Main memory window during log execution #define ZMAX_PAGES_WRITTEN 8 // Max pages before writing to disk (=> config) -#define ZMIN_READ_BUFFER_SIZE 2 // Minimum number of pages to execute log +#define ZMIN_READ_BUFFER_SIZE 3 // Minimum number of pages to execute log #define ZMIN_LOG_PAGES_OPERATION 10 // Minimum no of pages before stopping #define ZPOS_CHECKSUM 0