diff options
Diffstat (limited to 'src/log/log_slot.c')
-rw-r--r-- | src/log/log_slot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/log/log_slot.c b/src/log/log_slot.c index ff61afb698c..8dcb2f9f165 100644 --- a/src/log/log_slot.c +++ b/src/log/log_slot.c @@ -203,8 +203,7 @@ retry: * churn is used to change how long we pause before closing * the slot - which leads to more consolidation and less churn. */ - if (++switch_fails % SLOT_POOL == 0 && - switch_fails != 0 && slot->slot_churn < 5) + if (++switch_fails % SLOT_POOL == 0 && slot->slot_churn < 5) ++slot->slot_churn; __wt_yield(); goto retry; |