Bug#44952: Ndbd file system inconsistency error
Backport a ndb patch: fix bug with crash during restart, where a mbyte incorrectly could be skipped, leading to "end of log wo/ finding gci".
This commit is contained in:
parent
aca9b35ffe
commit
e077bb49d7
@ -14577,7 +14577,7 @@ void Dblqh::srLogLimits(Signal* signal)
|
||||
while(true) {
|
||||
ndbrequire(tmbyte < 16);
|
||||
if (logPartPtr.p->logExecState == LogPartRecord::LES_SEARCH_STOP) {
|
||||
if (logFilePtr.p->logMaxGciCompleted[tmbyte] < logPartPtr.p->logLastGci) {
|
||||
if (logFilePtr.p->logMaxGciCompleted[tmbyte] <= logPartPtr.p->logLastGci) {
|
||||
jam();
|
||||
/* --------------------------------------------------------------------
|
||||
* WE ARE STEPPING BACKWARDS FROM MBYTE TO MBYTE. THIS IS THE FIRST
|
||||
|
Loading…
x
Reference in New Issue
Block a user