diff options
author | Luke Chen <luke.chen@mongodb.com> | 2019-02-14 10:31:22 +1100 |
---|---|---|
committer | Luke Chen <luke.chen@mongodb.com> | 2019-02-14 10:42:57 +1100 |
commit | 1779dc1005a54b12bfbeb08bfbdbed9cffa97992 (patch) | |
tree | af5bcc15cba9009a713599071ac3337a496ba32a /src/third_party/wiredtiger/examples | |
parent | 0cdb86f3cf2bbabe448669598c32297f5ec8214f (diff) | |
download | mongo-1779dc1005a54b12bfbeb08bfbdbed9cffa97992.tar.gz |
Import wiredtiger: 0c6ba8d8be02dd34a46c3e9533971f1739b6ad8e from branch mongodb-4.2
ref: 92719d6bc9..0c6ba8d8be
for: 4.1.9
WT-4053 Add statistic for data handle size
WT-4296 Add aggressive mode to sweep server
WT-4313 Update query_timestamp documentation for last_checkpoint and recovery timestamp
WT-4369 random_directio shouldn't assume children threads wrote any data
WT-4433 Enable dynamic compression for snappy
WT-4447 Add prototype implementation allowing limiting of IO per subsystem
WT-4484 workgen: wtperf.py should store python intermediate files in home directory
WT-4489 Store correct timestamp in cells on disk
WT-4492 Automate testing of versioned data format
WT-4501 Fix a race condition opening/closing the shared cache
WT-4533 Upgrade to v3 toolchain for Evergreen tests
WT-4546 Add workgen improvements and test files to simulate read and write "storms"
WT-4547 Consolidate capacity and block manager bytes written
WT-4557 Remove error_prefix from base configuration file, set error_prefix in wt command
WT-4559 Create a marker file when a test leaves a database corrupted
WT-4561 WiredTiger LSM chunk drop can race with hot backups
WT-4562 Coverity: possible divide by zero conn_capacity:434
WT-4569 WT_CONN_DATA_CORRUPTION incorrectly set in Btree verify code.
WT-4576 Coverity warning in conn_capacity.c
Diffstat (limited to 'src/third_party/wiredtiger/examples')
-rw-r--r-- | src/third_party/wiredtiger/examples/c/ex_all.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_all.c b/src/third_party/wiredtiger/examples/c/ex_all.c index 445a92ba5f8..3bf66a876fd 100644 --- a/src/third_party/wiredtiger/examples/c/ex_all.c +++ b/src/third_party/wiredtiger/examples/c/ex_all.c @@ -1284,6 +1284,12 @@ main(int argc, char *argv[]) /*! [Configure file_extend] */ error_check(conn->close(conn, NULL)); + /*! [Configure capacity] */ + error_check(wiredtiger_open( + home, NULL, "create,io_capacity=(total=40MB)", &conn)); + /*! [Configure capacity] */ + error_check(conn->close(conn, NULL)); + /*! [Eviction configuration] */ /* * Configure eviction to begin at 90% full, and run until the cache |