Bug #28653 Fast GCP + high load + high RedoBuffer causes ndbrequire

- correction, use recomputed _actual_ redobuffer
parent 39aa3e99
...@@ -992,11 +992,6 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal) ...@@ -992,11 +992,6 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
ndb_mgm_get_int_parameter(p, CFG_DB_REDO_BUFFER, ndb_mgm_get_int_parameter(p, CFG_DB_REDO_BUFFER,
&log_page_size); &log_page_size);
/* maximum number of log file operations */
clfoFileSize = (log_page_size+32768-1)/32768;
if (clfoFileSize < ZLFO_MIN_FILE_SIZE)
clfoFileSize = ZLFO_MIN_FILE_SIZE;
/** /**
* Always set page size in half MBytes * Always set page size in half MBytes
*/ */
...@@ -1007,6 +1002,11 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal) ...@@ -1007,6 +1002,11 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
clogPageFileSize+= (16 - mega_byte_part); clogPageFileSize+= (16 - mega_byte_part);
} }
/* maximum number of log file operations */
clfoFileSize = clogPageFileSize;
if (clfoFileSize < ZLFO_MIN_FILE_SIZE)
clfoFileSize = ZLFO_MIN_FILE_SIZE;
ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_LQH_TABLE, &ctabrecFileSize)); ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_LQH_TABLE, &ctabrecFileSize));
ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_LQH_TC_CONNECT, ndbrequire(!ndb_mgm_get_int_parameter(p, CFG_LQH_TC_CONNECT,
&ctcConnectrecFileSize)); &ctcConnectrecFileSize));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment