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

- correction, backport to 5.0
parent 259d7deb
...@@ -338,6 +338,11 @@ Dblqh::Dblqh(const class Configuration & conf): ...@@ -338,6 +338,11 @@ Dblqh::Dblqh(const class Configuration & conf):
initData(); initData();
/* maximum number of log file operations */
clfoFileSize = clogPageFileSize;
if (clfoFileSize < ZLFO_MIN_FILE_SIZE)
clfoFileSize = ZLFO_MIN_FILE_SIZE;
#ifdef VM_TRACE #ifdef VM_TRACE
{ {
void* tmp[] = { void* tmp[] = {
......
...@@ -7251,11 +7251,6 @@ void Dblqh::continueScanNextReqLab(Signal* signal) ...@@ -7251,11 +7251,6 @@ void Dblqh::continueScanNextReqLab(Signal* signal)
return; return;
} }
/* maximum number of log file operations */
clfoFileSize = clogPageFileSize;
if (clfoFileSize < ZLFO_MIN_FILE_SIZE)
clfoFileSize = ZLFO_MIN_FILE_SIZE;
// Update timer on tcConnectRecord // Update timer on tcConnectRecord
tcConnectptr.p->tcTimer = cLqhTimeOutCount; tcConnectptr.p->tcTimer = cLqhTimeOutCount;
init_acc_ptr_list(scanptr.p); init_acc_ptr_list(scanptr.p);
......
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