summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2015-10-30 20:53:33 -0400
committerSusan LoVerso <sue@wiredtiger.com>2015-10-30 20:53:33 -0400
commit275916205ef8aa3d21e2c281a0b4df59c360ca17 (patch)
tree530ade83712ec7247626f3b6c115f0bb834f5573
parent7fc3033fc2f2eba626abdc7ff29fc0e8f2b85e42 (diff)
downloadmongo-275916205ef8aa3d21e2c281a0b4df59c360ca17.tar.gz
WT-2187 If we're waiting for write_lsn to advance, signal the thread.
-rw-r--r--src/log/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/log/log.c b/src/log/log.c
index a1a0f15d185..44dc7dc30a7 100644
--- a/src/log/log.c
+++ b/src/log/log.c
@@ -1312,6 +1312,7 @@ __wt_log_release(WT_SESSION_IMPL *session, WT_LOGSLOT *slot, bool *freep)
*/
if (F_ISSET(session, WT_SESSION_LOCKED_SLOT))
__wt_spin_unlock(session, &log->log_slot_lock);
+ WT_ERR(__wt_cond_signal(session, conn->log_wrlsn_cond));
if (++yield_count < 1000)
__wt_yield();
else