summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/txn/txn_ckpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/txn/txn_ckpt.c')
-rw-r--r--src/third_party/wiredtiger/src/txn/txn_ckpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/txn/txn_ckpt.c b/src/third_party/wiredtiger/src/txn/txn_ckpt.c
index d36fafda702..4cd36ebee0c 100644
--- a/src/third_party/wiredtiger/src/txn/txn_ckpt.c
+++ b/src/third_party/wiredtiger/src/txn/txn_ckpt.c
@@ -2102,7 +2102,7 @@ __wt_checkpoint_close(WT_SESSION_IMPL *session, bool final)
* is a stable timestamp set or the connection is configured to disallow such operation.
* Flushing trees can lead to files that are inconsistent on disk after a crash.
*/
- if (btree->modified && !bulk && !__wt_btree_immediately_durable(session) &&
+ if (btree->modified && !bulk && F_ISSET(btree, WT_BTREE_NO_LOGGING) &&
(S2C(session)->txn_global.has_stable_timestamp ||
(!F_ISSET(S2C(session), WT_CONN_FILE_CLOSE_SYNC) && !metadata)))
return (__wt_set_return(session, EBUSY));