diff options
author | Greg McKeon <greg.mckeon@mongodb.com> | 2017-11-17 17:48:25 -0500 |
---|---|---|
committer | Greg McKeon <greg.mckeon@mongodb.com> | 2017-11-17 17:48:25 -0500 |
commit | 770b4bfe6d7f11d50d79fab08c0764a8e6b866fe (patch) | |
tree | 72e18fc43206531b6a39ca96a0c8d92700b0c3e5 /src/third_party/wiredtiger/src/log/log.c | |
parent | 77c0c06c7f913b1d0d11ed66b225ddfba82a261f (diff) | |
download | mongo-770b4bfe6d7f11d50d79fab08c0764a8e6b866fe.tar.gz |
Revert "Import wiredtiger: fd0c611577e38687455cee311cc279bec16651ea from branch mongodb-3.8"
This reverts commit d303ef9ba44fb7dfeb41c8b975e761c184d1d4b5.
Diffstat (limited to 'src/third_party/wiredtiger/src/log/log.c')
-rw-r--r-- | src/third_party/wiredtiger/src/log/log.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/log/log.c b/src/third_party/wiredtiger/src/log/log.c index 17c77f532bb..4c32b9b02ed 100644 --- a/src/third_party/wiredtiger/src/log/log.c +++ b/src/third_party/wiredtiger/src/log/log.c @@ -2658,10 +2658,8 @@ __wt_log_flush(WT_SESSION_IMPL *session, uint32_t flags) * Wait until all current outstanding writes have been written * to the file system. */ - while (__wt_log_cmp(&last_lsn, &lsn) > 0) { - __wt_sleep(0, WT_THOUSAND); + while (__wt_log_cmp(&last_lsn, &lsn) > 0) WT_RET(__wt_log_flush_lsn(session, &lsn, false)); - } __wt_verbose(session, WT_VERB_LOG, "log_flush: flags %#" PRIx32 " LSN %" PRIu32 "/%" PRIu32, |