Commit 3a0da378 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #5661, move advancement of cleaner head to outside of if-clause,...

refs #5661, move advancement of cleaner head to outside of if-clause, preventing infinite loop in cleaner

git-svn-id: file:///svn/toku/tokudb@49557 c7de825b-a66e-492c-adef-691d508d4ae1
parent be8b7b0b
......@@ -2974,8 +2974,8 @@ int cleaner::run_cleaner(void) {
best_score = score;
best_pair = m_pl->m_cleaner_head;
}
m_pl->m_cleaner_head = m_pl->m_cleaner_head->clock_next;
}
m_pl->m_cleaner_head = m_pl->m_cleaner_head->clock_next;
continue;
}
pair_lock(m_pl->m_cleaner_head);
......
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