diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-11-20 10:09:45 -0500 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-11-20 10:09:45 -0500 |
commit | 627b7e2e17915093af0b621119cc9a1ee563bab7 (patch) | |
tree | 1906d1d776b086ff331174cad6f4113313c73b73 /src/include/connection.h | |
parent | 06d42a28a34f801991bff90b10a72de71b557210 (diff) | |
download | mongo-627b7e2e17915093af0b621119cc9a1ee563bab7.tar.gz |
Add recycle stats and code to set a maximum number of recycle files.
Diffstat (limited to 'src/include/connection.h')
-rw-r--r-- | src/include/connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/connection.h b/src/include/connection.h index 14ce115e399..d9300b319fa 100644 --- a/src/include/connection.h +++ b/src/include/connection.h @@ -257,7 +257,9 @@ struct __wt_connection_impl { wt_off_t log_file_max; /* Log file max size */ const char *log_path; /* Logging path format */ int log_recycle; /* Log file recycle configuration */ - uint32_t txn_logsync; /* Log sync configuration */ + /* Maximum recycled log files */ + uint32_t log_recycle_max; + uint32_t txn_logsync; /* Log sync configuration */ WT_SESSION_IMPL *sweep_session; /* Handle sweep session */ wt_thread_t sweep_tid; /* Handle sweep thread */ |