diff options
author | sueloverso <sue@mongodb.com> | 2016-08-07 20:38:07 -0400 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-08-08 10:38:07 +1000 |
commit | da60443210f139b6e61c756ec986390039cee2b8 (patch) | |
tree | b9f503a88457f274b01801759036ede7fd46224d /test | |
parent | 86e03d9baf9f805d39b13755db7e1d81d936eb5f (diff) | |
download | mongo-da60443210f139b6e61c756ec986390039cee2b8.tar.gz |
WT-2813 Configure eviction dirty settings explicitly for LSM in test/format (#2935)
Diffstat (limited to 'test')
-rw-r--r-- | test/format/wts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/format/wts.c b/test/format/wts.c index 69195abc3d4..9acca409d6e 100644 --- a/test/format/wts.c +++ b/test/format/wts.c @@ -154,6 +154,11 @@ wts_open(const char *home, bool set_api, WT_CONNECTION **connp) ",lsm_manager=(worker_thread_max=%" PRIu32 "),", g.c_lsm_worker_threads); + if (DATASOURCE("lsm") || g.c_cache < 20) { + p += snprintf(p, REMAIN(p, end), + ",eviction_dirty_target=80,eviction_dirty_trigger=95"); + } + /* Eviction worker configuration. */ if (g.c_evict_max != 0) p += snprintf(p, REMAIN(p, end), |