summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/session/session_compact.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2020-08-17 15:56:33 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-17 06:16:56 +0000
commitb2c2c5e28402f113ac52f6ce5e629d59fc09b995 (patch)
treef66c98f6fbbc5fae973620de07d2f6e262c0bd44 /src/third_party/wiredtiger/src/session/session_compact.c
parent3cc779415f2777223b5549d3dfd1b85eef01842b (diff)
downloadmongo-b2c2c5e28402f113ac52f6ce5e629d59fc09b995.tar.gz
Import wiredtiger: 1a3371324597a8f124c126c2df11303ded4d8dd9 from branch mongodb-4.6
ref: 1124e23db6..1a33713245 for: 4.5.1 WT-5940 Migrate to Clang Format 10 WT-6000 Enhance incremental backup testing in format to support restart WT-6471 Avoid the error message for non-existent clang-format binary WT-6560 Fix usage of global salvage in WT utility WT-6577 History store dump outputs confusing time window WT-6586 Tombstone inserted to history store should also be flagged as WT_UPDATE_HS
Diffstat (limited to 'src/third_party/wiredtiger/src/session/session_compact.c')
-rw-r--r--src/third_party/wiredtiger/src/session/session_compact.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/session/session_compact.c b/src/third_party/wiredtiger/src/session/session_compact.c
index 1a92a1f985e..3184cdd579d 100644
--- a/src/third_party/wiredtiger/src/session/session_compact.c
+++ b/src/third_party/wiredtiger/src/session/session_compact.c
@@ -295,9 +295,7 @@ __compact_worker(WT_SESSION_IMPL *session)
*/
if (ret == EBUSY) {
if (__wt_cache_stuck(session)) {
- WT_ERR_MSG(session, EBUSY,
- "compaction halted by eviction "
- "pressure");
+ WT_ERR_MSG(session, EBUSY, "compaction halted by eviction pressure");
}
ret = 0;
another_pass = true;
@@ -388,8 +386,9 @@ __wt_session_compact(WT_SESSION *wt_session, const char *uri, const char *config
* table, so acquire the table lock in write mode.
*/
WT_WITH_SCHEMA_LOCK(session,
- WT_WITH_TABLE_WRITE_LOCK(session, ret = __wt_schema_worker(session, uri,
- __compact_handle_append, __compact_uri_analyze, cfg, 0)));
+ WT_WITH_TABLE_WRITE_LOCK(session,
+ ret = __wt_schema_worker(
+ session, uri, __compact_handle_append, __compact_uri_analyze, cfg, 0)));
WT_ERR(ret);
if (session->compact->lsm_count != 0)