summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/conn/conn_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/conn/conn_log.c')
-rw-r--r--src/third_party/wiredtiger/src/conn/conn_log.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/src/conn/conn_log.c b/src/third_party/wiredtiger/src/conn/conn_log.c
index acba9ebb12c..0cb718d92f0 100644
--- a/src/third_party/wiredtiger/src/conn/conn_log.c
+++ b/src/third_party/wiredtiger/src/conn/conn_log.c
@@ -522,7 +522,7 @@ __wt_log_truncate_files(WT_SESSION_IMPL *session, WT_CURSOR *cursor, bool force)
conn = S2C(session);
if (!FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED))
return (0);
- if (!force && F_ISSET(conn, WT_CONN_SERVER_LOG) &&
+ if (!force && FLD_ISSET(conn->server_flags, WT_CONN_SERVER_LOG) &&
FLD_ISSET(conn->log_flags, WT_CONN_LOG_ARCHIVE))
WT_RET_MSG(session, EINVAL, "Attempt to archive manually while a server is running");
@@ -566,7 +566,7 @@ __log_file_server(void *arg)
log = conn->log;
locked = false;
yield_count = 0;
- while (F_ISSET(conn, WT_CONN_SERVER_LOG)) {
+ while (FLD_ISSET(conn->server_flags, WT_CONN_SERVER_LOG)) {
/*
* If there is a log file to close, make sure any outstanding write operations have
* completed, then fsync and close it.
@@ -838,7 +838,7 @@ __log_wrlsn_server(void *arg)
log = conn->log;
yield = 0;
WT_INIT_LSN(&prev);
- while (F_ISSET(conn, WT_CONN_SERVER_LOG)) {
+ while (FLD_ISSET(conn->server_flags, WT_CONN_SERVER_LOG)) {
/*
* Write out any log record buffers if anything was done since last time. Only call the
* function to walk the slots if the system is not idle. On an idle system the alloc_lsn
@@ -908,7 +908,7 @@ __log_server(void *arg)
* records sitting in the buffer over the time it takes to sync out an earlier file.
*/
did_work = true;
- while (F_ISSET(conn, WT_CONN_SERVER_LOG)) {
+ while (FLD_ISSET(conn->server_flags, WT_CONN_SERVER_LOG)) {
/*
* Slots depend on future activity. Force out buffered writes in case we are idle. This
* cannot be part of the wrlsn thread because of interaction advancing the write_lsn and a
@@ -1036,7 +1036,7 @@ __wt_logmgr_open(WT_SESSION_IMPL *session)
if (!FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED))
return (0);
- F_SET(conn, WT_CONN_SERVER_LOG);
+ FLD_SET(conn->server_flags, WT_CONN_SERVER_LOG);
/*
* Start the log close thread. It is not configurable. If logging is enabled, this thread runs.
@@ -1104,7 +1104,7 @@ __wt_logmgr_destroy(WT_SESSION_IMPL *session)
conn = S2C(session);
- F_CLR(conn, WT_CONN_SERVER_LOG);
+ FLD_CLR(conn->server_flags, WT_CONN_SERVER_LOG);
if (!FLD_ISSET(conn->log_flags, WT_CONN_LOG_ENABLED)) {
/*