Skip to content

Commit 62f51bb

Browse files
committed
Bug#34992370 IndexStatBg seizeTxHandle() failure stops automated index stat updates
Problem: -------- If the seize of a TxHandle fails, then the IndexStat calculation monitoring fiber exits, so that there can be no more automated index stat updates without a node failure. Fix: ---- Wait and eventually retry the TxHandle seize instead of exiting. Change-Id: I1e15e1d7176de35481823dbfc644da078787c665
1 parent 79140c0 commit 62f51bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17138,7 +17138,7 @@ Dbdict::indexStatBg_process(Signal* signal)
1713817138
TxHandlePtr tx_ptr;
1713917139
if (!seizeTxHandle(tx_ptr)) {
1714017140
jam();
17141-
return; // wait for one
17141+
break; // wait for one
1714217142
}
1714317143
Callback c = {
1714417144
safe_cast(&Dbdict::indexStatBg_fromBeginTrans),

0 commit comments

Comments
 (0)