We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6708e51 commit 8a79535Copy full SHA for 8a79535
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
@@ -16832,9 +16832,9 @@ Dbdih::startGcpLab(Signal* signal)
16832
{
16833
jam();
16834
const Uint64 currVal = m_micro_gcp.m_master.m_new_gci >> 32;
16835
- Uint64 newVal = 0;
16836
- // Boost to just below the first warning gci
16837
- newVal = std::max(currVal, Uint64(next_warn_save_gci - 4));
+ // Boost the GCI to just below the first warning gci
+ Uint64 newVal = Uint64(next_warn_save_gci - 4);
+ if (newVal < currVal) { newVal = currVal; };
16838
m_micro_gcp.m_master.m_new_gci = newVal << 32;
16839
g_eventLogger->info("DIH Err-Ins: Incrementing GCI from %llu to %llu. ",
16840
currVal,
0 commit comments