summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/utility/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* Import wiredtiger: 0fbad5023a23823b1dd8f63e2a9b582f3723cd64 from branch ↵Chenhao Qu2022-11-231-6/+49
| | | | | | | | | mongodb-master ref: c7ee7a966f..0fbad5023a for: 6.3.0-rc0 WT-9904 test tiered: develop microbenchmarks for SS-PUSH
* Import wiredtiger: 0ac71ba2af5d2b3abceeccce1bf924b3c560d26e from branch ↵Siddhartha Mahajan2022-11-041-0/+1
| | | | | | | | | mongodb-master ref: a69bf663f4..0ac71ba2af for: 6.2.0-rc0 WT-9882 timestamp_abort : Parse tiered_storage config and move other common config options to test_util
* Import wiredtiger: 63e42104c5319d64992ecf73d09e03e221b1b62b from branch ↵Chenhao Qu2022-11-021-0/+16
| | | | | | | | | mongodb-master ref: b95995c695..63e42104c5 for: 6.2.0-rc0 WT-9871 schema_abort : Parse tiered_storage config and move other common config options to test_util
* Import wiredtiger: f78c826b67e6f4ea78a4c90aaff4c799979ce29f from branch ↵Chenhao Qu2022-11-021-23/+0
| | | | | | | | | mongodb-master ref: 6215c6d628..f78c826b67 for: 6.2.0-rc0 Revert "WT-9871 schema_abort : Move tiered storage functionality to test_util
* Import wiredtiger: e032d616373ab6214d22d4c2fb99f7ba70f60067 from branch ↵Will Korteland2022-10-311-0/+13
| | | | | | | | | mongodb-master ref: 06a93dcd3f..e032d61637 for: 6.2.0-rc0 WT-10003 Add testutil APIs for checkpoint/flush_tier threads, and fix test/checkpoint accordingly.
* Import wiredtiger: 06a93dcd3f71ff953a0e82d06c4217b3c61fdb79 from branch ↵Will Korteland2022-10-311-0/+23
| | | | | | | | | mongodb-master ref: 70c77ad485..06a93dcd3f for: 6.2.0-rc0 WT-9871 schema_abort : Move tiered storage functionality to test_util
* Import wiredtiger: 91d645f95bf454168c6d15d0940f18a328e1c7bf from branch ↵Clarisse Cheah2022-10-171-8/+1
| | | | | | | | | mongodb-master ref: 3098d774bc..91d645f95b for: 6.2.0-rc0 WT-9937 Added testutil_parse_opt to allow extended argument parsing. (#8320)
* Import wiredtiger: 7e38deff7bff0f2cdad1b8760b123bcf0a476456 from branch ↵Will Korteland2022-09-291-0/+14
| | | | | | | | | mongodb-master ref: 0081d825de..7e38deff7b for: 6.2.0-rc0 WT-8526 test/format should copy all the files it needs to start up into the backup directories (#8297)
* Import wiredtiger: 06926a917a9c92cc7407612d0638397a51cc8e44 from branch ↵Luke Chen2022-09-251-0/+8
| | | | | | | | | mongodb-master ref: 7739da50a2..06926a917a for: 6.2.0-rc0 WT-9739 test tiered: test_util command line parsing (#8285)
* Import wiredtiger: 12f6c1c6976e1bff7cc4b7a5041498ff94767358 from branch ↵Chenhao Qu2022-04-201-13/+0
| | | | | | | | | mongodb-master ref: ad0b418109..12f6c1c697 for: 6.1.0-rc0 WT-8973 Define semantics of zero timestamp in our APIs
* Import wiredtiger: 298dbf649d5967d6421c8ede00fbc665e945c285 from branch ↵Etienne Petrel2022-03-291-0/+13
| | | | | | | | | | mongodb-master ref: eec5d0bae8..298dbf649d for: 6.0.0 Reverted ticket(s): WT-8973 Define semantics of zero timestamp in our APIs
* Import wiredtiger: df9f946fc040442de90a6370fcd29b1fe1cd486c from branch ↵Etienne Petrel2022-03-291-13/+0
| | | | | | | | | mongodb-master ref: c27819293f..df9f946fc0 for: 6.0.0 WT-8973 Define semantics of zero timestamp in our APIs
* Import wiredtiger: 0fba36461d811703eb4e047ce0673032b4f638b1 from branch ↵Luke Chen2022-03-211-5/+6
| | | | | | | | | mongodb-master ref: c833fd913a..0fba36461d for: 6.0.0 WT-8835 Allow relative directory to be passed into -b option in tiered_abort test
* Import wiredtiger: 0d65fabfca1e3435e8f8298a98d4fc91c56e331c from branch ↵Luke Chen2022-02-021-31/+10
| | | | | | | | | mongodb-master ref: 9e92b73891..0d65fabfca for: 5.3.0 WT-7598 Remove autoconf & scons build systems
* Import wiredtiger: 25ba1c8550f8139048055891e8cfeba116df824a from branch ↵Luke Chen2022-01-141-5/+1
| | | | | | | | | mongodb-master ref: 5b33a85756..25ba1c8550 for: 5.3.0 WT-8650 Fix malformed comments in all source files
* Import wiredtiger: 191e1c26eb8f64b372504744d0a9da621664f125 from branch ↵Etienne Petrel2022-01-111-0/+8
| | | | | | | | | mongodb-master ref: e1427e4a69..191e1c26eb for: 5.3.0 WT-8274 Run function.py on all our source files
* Import wiredtiger: 0e2a0ee55ec84aeced65e6f8d6fa494c88c69ac3 from branch ↵Etienne Petrel2022-01-111-1/+2
| | | | | | | | | mongodb-master ref: d965f4567e..0e2a0ee55e for: 5.3.0 WT-8437 Do not copy database in wt8246_compact_rts_data_correctness
* Import wiredtiger: 81f6768c905d9902e51a26b3ebd5806828203330 from branch ↵Etienne Petrel2022-01-111-0/+1
| | | | | | | | | mongodb-master ref: df440dcf8c..81f6768c90 for: 5.3.0 WT-8637 Fix memory leak error for csuite build directory option
* Import wiredtiger: 883889e71c4cbc77e820a4a62a02528ce6a16fde from branch ↵Chenhao Qu2021-12-221-0/+21
| | | | | | | | | mongodb-master ref: eaf625d02f..883889e71c for: 5.3.0 WT-8426 Clean up csuite test artifacts on test success
* Import wiredtiger: aacc7979823e9554fb6d46f75113aea584a0fde6 from branch ↵Luke Chen2021-11-291-1/+1
| | | | | | | | | mongodb-master ref: eab5c071ab..aacc797982 for: 5.2.0 WT-8459 Rename test_checksys() to test_assert_errno()
* Import wiredtiger: 798793ffa1a8fb9960edfc782ad4a54b529e311d from branch ↵Chenhao Qu2021-11-031-5/+7
| | | | | | | | | mongodb-master ref: a5581e7590..798793ffa1 for: 5.2.0 WT-8316 format backward compatibility mode fixes
* Import wiredtiger: dfc1385ec8b2aa0d86dfe66890a7e3b95b729d43 from branch ↵Luke Chen2021-11-011-1/+1
| | | | | | | | | mongodb-master ref: 854df2c974..dfc1385ec8 for: 5.2.0 WT-3445 Add multiple tables to format tester.
* Import wiredtiger: 893ff3571a44ae152576cd82772b5e441c748623 from branch ↵Luke Chen2021-10-291-1/+1
| | | | | | | | | | mongodb-master ref: 874a51e8b2..893ff3571a for: 5.2.0 Reverted ticket(s): WT-3445 Add multiple tables to format tester.
* Import wiredtiger: 0d0df1c83cd1300cc486ef5bc184b9411981bf82 from branch ↵Luke Chen2021-10-291-1/+1
| | | | | | | | | mongodb-master ref: e32b9e4077..0d0df1c83c for: 5.2.0 WT-3445 Add multiple tables to format tester.
* Import wiredtiger: 9153261cf8e28326cf3b2075fa5ffd97ee30110d from branch ↵Alison Felizzi2021-10-211-1/+1
| | | | | | | | | mongodb-master ref: 406b326af9..9153261cf8 for: 5.2.0 WT-8194 Fix ASAN leaks when tcmalloc is enabled
* Import wiredtiger: db8cbc6617b42456a1c407bc38a44c6da59305ac from branch ↵Etienne Petrel2021-09-141-1/+1
| | | | | | | | | mongodb-master ref: 7f53fd6687..db8cbc6617 for: 5.1.0 WT-7957 Tiered storage should look in local system for objects
* Import wiredtiger: 8e6373247bd61fd6029b9c80599bea3ebe3b1262 from branch ↵Luke Chen2021-05-261-1/+7
| | | | | | | | | | | | | | | mongodb-5.0 ref: 912ceefab6..8e6373247b for: 5.1.0 WT-7348 Complete CMake POSIX support WT-7510 wt_copy_and_sync assert gets hit WT-7542 Add a Python test to reconfigure zstd compression level after restart WT-7581 Fix ordering of args in wt_cache_config Reverted ticket(s): WT-7493 Add a new connection config to control the page eviction with update restore eviction
* Import wiredtiger: 41859ea925fb10cc40d482f4a3315145750ea933 from branch ↵Luke Chen2021-04-291-0/+46
| | | | | | | | | | | | | | | | | | | | mongodb-5.0 ref: c8af64068c..41859ea925 for: 5.0.0 WT-7092 Reduce calls to hash URI when opening/closing cached cursors by one WT-7400 Set WT_HS_READ_ALL flag for the search before fixing the out of order timestamps WT-7413 Add an option to wtperf to run a backup operation WT-7420 Tiered local storage changed to flush files to bucket directory WT-7429 Set readonly metadata when switching tiered objects WT-7453 Coverity analysis defect 119968: Continue has no effect WT-7454 Coverity analysis defect 119967: Continue has no effect WT-7455 Coverity analysis defect 119966: Redundant test WT-7456 Coverity analysis defect 119965: Uninitialized pointer read WT-7457 Coverity: fix error in local store rename WT-7459 Coverity analysis defect 119947: Redundant test WT-7463 Use wt_off_t to avoid incompatible pointer types
* Import wiredtiger: b1d217df468b2cd4be9eee6945d2119951bdc5cf from branch ↵Luke Chen2021-03-021-1/+1
| | | | | | | | | mongodb-5.0 ref: b7739a6515..b1d217df46 for: 4.9.0 WT-6926 Update WiredTiger source code to include 2021 copyright notices
* Import wiredtiger: 247de8d7ab4fc8dfd24167a35e94d8afcf16190b from branch ↵Luke Chen2021-01-111-0/+34
| | | | | | | | | | | | mongodb-5.0 ref: 60a57bb9a8..247de8d7ab for: 4.9.0 WT-5111 Fix wt2909_checkpoint_integrity and wt3120_filesys so it is natural to run standalone WT-6863 Reduce code duplication by improving statistics macros WT-6991 Make WT_IS_HS and WT_IS_METADATA consistent - both operating on dhandle WT-7066 Point README doc link to develop/index.html
* Import wiredtiger: 2b801c9c68c8d866fcfe5a9affaff06190c11ce6 from branch ↵Luke Chen2020-09-141-0/+29
| | | | | | | | | | mongodb-4.6 ref: a68890f718..2b801c9c68 for: 4.8.0 WT-6616 Set the oldest timestamp of the checkpoint when it is finished WT-6649 Coverity: Unintentional integer overflow in __wt_rec_need_split
* Import wiredtiger: 1a3371324597a8f124c126c2df11303ded4d8dd9 from branch ↵Luke Chen2020-08-171-6/+2
| | | | | | | | | | | | | | 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
* Import wiredtiger: 46eb0217d46b98e7631fc463791f9e16c08ae198 from branch ↵Luke Chen2020-06-301-1/+1
| | | | | | | | | | mongodb-4.4 ref: 48cbc0a231..46eb0217d4 for: 4.5.1 WT-6475 Create statistic to track number of cursor prev calls as a result of globally visible tombstones WT-6477 Fix silent failures about run directory never created in format.sh
* Import wiredtiger: d74cb1a91399e1197a95667502002ffed2b7b82b from branch ↵Luke Chen2020-02-121-1/+1
| | | | | | | | | | | | | | | | | | mongodb-4.4 ref: 94c6c16014..d74cb1a913 for: 4.3.4 WT-5372 Skip known errors for long-running format stress sanitizer tasks WT-5383 Update WiredTiger source code to include 2020 copyright notices WT-5398 Adding more correctness tasks into rhel80 Evergreen build variant WT-5526 Remove visibility check in __wt_value_return_upd WT-5536 Add zstd as a builtin compressor for WiredTiger Python package WT-5538 Change format to ignore Evergreen timestamps in configuration files WT-5553 Return error if primary cursor is not an incremental source WT-5554 Account for logpath when retrieving file size in incremental backup WT-5557 Fix the wrong page type returned when checking on-page cell WT-5564 Buffer not extended properly when incremental bitstring grows
* Import wiredtiger: 7dfd9391862bc9a6d84868c4dc51689c45a3aacf from branch ↵Luke Chen2019-08-211-171/+168
| | | | | | | | | | | mongodb-4.4 ref: c809757d8b..7dfd939186 for: 4.3.1 WT-4658 Apply Clang Format WT-4810 Adding WT_ERR_ASSERT and WT_RET_ASSERT macros WT-5046 Prepared transactions aren't properly cleared from global table with WT_CONN_LOG_DEBUG_MODE enabled
* Import wiredtiger: 67066a329d365cb1de6e198184016d4a9d280679 from branch ↵Luke Chen2019-03-251-2/+2
| | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: bb36cf83cd..67066a329d for: 4.1.10 WT-4324 Ensure checkpoints rewrite pages with data in the future WT-4609 Extend timestamp usage documentation WT-4621 Support rounding up prepare timestamp to oldest WT-4629 Research timestamping and add to test coverage for timestamping WT-4630 Add Clang Format script WT-4645 Fill gaps in test coverage regarding transactions WT-4646 Coverity doesn't like testutil_assert() on fopen calls WT-4648 Coverity false positive on fopen call WT-4651 Remove 'incase' from s_string.ok and its uses WT-4654 Split task for Evergreen Windows build variant to reduce makespan WT-4655 Avoid C and C++ compiler incompatibilities
* Import wiredtiger: bb36cf83cd952262af49a589d15940a8c865174c from branch ↵Luke Chen2019-03-181-8/+13
| | | | | | | | | | | | | | mongodb-4.2 ref: 82c3f83aca..bb36cf83cd for: 4.1.10 WT-4618 Don't hijack other sessions in __wt_verbose_dump_txn WT-4620 Assert a uint64_t can hold a time_t, maintain seconds as uint64_t WT-4627 Coverity #111405: out-of-bounds overrun WT-4628 Don't reopens the tracking file on each call in test-utility-progress function WT-4638 Remove legacy variables from the __wt_cache structure WT-4641 Return errors when test/format verify failures
* Import wiredtiger: fa402fef1974b30ef61770caff58b0eabda97781 from branch ↵Luke Chen2019-01-101-1/+1
| | | | | | | | | | | | | mongodb-4.2 ref: 86012f8e40..fa402fef19 for: 4.1.7 WT-4444 Extend cursor operation tracking statistics WT-4483 Improve caching of small updates to large values WT-4505 Add ability to manage when prepared transactions appear in checkpoints WT-4518 Give applications a chance to handle panic before API panic returns WT-4522 Update WiredTiger copyrights to 2019
* Import wiredtiger: e6c1b9724ed6ed2879a36d7e140f4fa9daceb261 from branch ↵Luke Chen2018-12-271-3/+3
| | | | | | | | | | | | | mongodb-4.2 ref: d5793d4dd5..e6c1b9724e for: 4.1.7 WT-4366 Fix how test/format handles prepare conflict errors WT-4426 Change WT data format to include timestamps in leaf page key/value cells WT-4475 clang detected memory leak while executing csuite tests WT-4499 Fix prepared transactions for cursor key order check failure WT-4506 Bypass some csuite tests for valgrind
* Import wiredtiger: fcb59a43a44222716ddae6d94d45cdfd36b915f7 from branch ↵Luke Chen2018-12-051-0/+15
| | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 74aa2f92a9..fcb59a43a4 for: 4.1.7 WT-4192 Remove WiredTiger raw compression support WT-4319 Improvements to csuite tests WT-4331 Further extend max wait time for test_bug019.py WT-4393 Document cursor behaviour for read committed isolation WT-4410 Split 'unit-test' task to reduce Evergreen Ubuntu build variant runtime WT-4417 Make os_cache_max and os_cache_dirty_max reconfigurable WT-4421 Add a way to calculate modify operations WT-4434 Modify zstd compression level from 3 to 6 WT-4442 Add the ability to duplicate a backup cursor WT-4455 test_wt4156_metadata_salvage with HAVE_ATTACH fails on zSeries WT-4457 Add a maximum of dirty system buffers for the logging subsystem WT-4463 Reduce runtime for csuite handle locks testing WT-4464 In debug output row-store internal page keys may not format correctly WT-4469 Coverity #105148: redundant test
* Import wiredtiger: 7db12ec1b5b1843364ae28248b0680b816aab651 from branch ↵Luke Chen2018-09-181-0/+36
| | | | | | | | | | | | | | mongodb-4.2 ref: 45fd19bcb1..7db12ec1b5 for: 4.1.4 WT-3736 Add statistics to measure contention on lookaside cursor WT-4185 Don't remove all lookaside entries when reading a page WT-4225 Automate a backup test that simulates volume snapshot via dd WT-4308 Insert split during sync should not free blocks WT-4321 Disable the random direct I/O test WT-4325 Add a WiredTiger-local version of the qsort(3) call
* Import wiredtiger: fe04ad07ab7608718bc24aa5f9e0103aaec26b02 from branch ↵Luke Chen2018-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | mongodb-3.8 ref: ba76f72622..fe04ad07ab for: 4.0.0-rc0 WT-3698 Threads doing eviction can stall indefinitely when timestamps fail to advance WT-4000 Avoid getting two snapshots when setting a read_timestamp WT-4004 format snapshot-isolation search mismatch failure WT-4016 Measure and improve lookaside performance with stable_timestamp set WT-4029 Bump the log file version WT-4056 New API to configure a minimum compatibility version on open WT-4060 Clean up __wt_getenv() error handling. WT-4074 Lint fixes WT-4078 Splits can leak a page lock if memory allocation fails. WT-4080 gcc8 -Wparentheses complains about WiredTiger's __F() macro. WT-4081 Improve errors and documentation for syscall.py WT-4086 Verify log file versions before opening logging subsystem
* Import wiredtiger: a6e72378a60249228730667a2cba9a90c454b786 from branch ↵Luke Chen2018-02-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | mongodb-3.8 ref: 06a940e28a..a6e72378a6 for: 3.7.2 WT-3766 Lookaside sweep for obsolete updates WT-3840 Dump more information when data corruption is encountered WT-3847 Add a stub API for prepared transaction WT-3854 Remove write lock from commit path, leaving old entries in queue WT-3866 Bi-weekly WT codebase lint WT-3877 WT_CONN_EVICTION_NO_LOOKASIDE is cleared unconditionally WT-3878 Iteration can lose its position when updating a limbo page WT-3881 key timestamp consistency checking should not check its own updates WT-3887 log operations in format snapshot-isolation tracking WT-3888 cursor search-near can return the wrong value for "exact" WT-3889 format key-order return failure in LSM WT-3890 core dump walking timestamp queue WT-3891 Take the sweep walk rwlock whenever removing content from lookaside WT-3895 Commit timestamp queue getting out of order
* Import wiredtiger: 9e5044823185feffa71e56a6593cfb92e0741a41 from branch ↵Luke Chen2018-01-051-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | mongodb-3.8 ref: 1a29eac4dc..9e50448231 for: 3.7.1 WT-2705 High throughput cache bound many threaded workloads can experience long latencies WT-3725 Add statistics to locks around timestamp structures WT-3750 Fast-path fs_directory_list of a single file. WT-3768 Lookaside optimization: birthmarks WT-3769 Fix a bug in reverse cursor walks with particular delete patterns and prefix compression enabled WT-3779 Add support for string formats with WT_CURSOR::modify WT-3800 test_wt2834_join_bloom_fix hang WT-3806 Make sure rdtsc values move forward in time WT-3807 clang static analysis updates WT-3810 wt_rdtsc calibration needs to be longer and verify validity WT-3812 debugging page output should handle complex key/value items. WT-3816 Enable prefix compression on the lookaside table WT-3819 clang static analysis improvements WT-3820 Add a WT_SESSION.breakpoint method for Python debugging. WT-3822 Update WiredTiger copyrights to 2018 WT-3824 tsc_nsec_ratio can compute to zero and cause divide by zero bug
* Import wiredtiger: 4ecdb8f1a327067a178258ad025806eeefc1267b from branch ↵Luke Chen2017-10-191-3/+4
| | | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: 4b5ade6072..4ecdb8f1a3 for: 3.6.0-rc1 WT-3553 Change test utility error handling to abort rather than exit WT-3611 Backup comment doesn't match the code. WT-3619 Make compaction more aware of checkpoints and eviction WT-3635 Coverity 1381606 & Friday builds & lint. WT-3650 test_timestamp07(table-cg.nolog.1000keys) WT-3651 Reduce runtime of Python lookaside test WT-3655 Don't dirty pages to induce lookaside eviction WT-3657 Timestamp and lookaside related automated test failures WT-3660 WiredTiger documentation refers to WT_CURSOR::first. WT-3662 Write lookaside after reconciliation has succeeded WT-3663 lookaside records ignored unless a backing disk block written WT-3665 change format to configure the WiredTiger checkpoint thread
* Import wiredtiger: 6f561957cb5606f504f9fe5a124c80386b210b1a from branch ↵Alex Gorrod2017-10-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: e2c927fa58..6f561957cb for: 3.5.14 WT-3230 automatic style checking: function local variable declarations WT-3252 Remove the reconciliation WT_BOUNDARY structure. WT-3430 Add statistics tracking transaction ID/timestamp queue usage WT-3437 Evaluate improvements to tuning of number of eviction workers WT-3449 Get the Helium software running again. WT-3457 Enhance checkpoint scrub algorithm WT-3468 Ensure time comparison is done in thread-safe manner WT-3474 Extend Python timestamp rollback test case WT-3510 Add tests to check different sized timestamps and timestamps turned off WT-3511 Add test for timestamp changing partway during a multi-step transaction WT-3512 Add tests to catch improper usage of timestamp API WT-3524 Test format likely to pin cache full when enabling timestamps WT-3533 eviction handle walk can race with handle re-open WT-3537 Split pages when nothing can be written WT-3543 Ensure that failed checkpoints cleanup properly WT-3555 Streamline open cursor for tables WT-3556 remove wtstats support from WiredTiger WT-3557 Make test/format ignore unknown keywords WT-3561 test/recovery hangs with timestamps disabled WT-3571 clsm_open_cursors() set incorrct chunk->count WT-3572 format should limit runs to 6 hours. WT-3574 timestamp abort does not need to increment with atomic op WT-3575 ASCII statistics log printing WT-3576 Update test_timestamp09 to use integer comparison of timestamps WT-3578 Failed to parse oldest timestamp '0': zero not permitted WT-3581 format: unexpected checkpoint resolution WT-3588 test/format references freed memory. WT-3589 replace return checks and testutil_die() pairs, with testutil_check(). WT-3590 Keep data consistent if writes fail during a clean shutdown WT-3595 Make sure the Python example gets the right _wiredtiger.so WT-3601 Coverity 1381365: bt_split.c:__split_ref_move() resource leak WT-3602 compatible=(release=2.9) is insufficient for downgrading to 2.9 WT-3603 format threads always traverse the same RNG space. WT-3605 LSM doesn't support type 'r' WT-3606 reconfigure compatibility error paths leave system in modified state WT-3609 Coverity 1381438: change __wt_panic to handle a NULL session argument WT-3610 Relax commit timestamp ordering check WT-3614 Full-build Friday lint
* Import wiredtiger: ff10db881161bbd1bc23e40ac385ff0de18f68ff from branch ↵Alex Gorrod2017-06-291-7/+32
| | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: f59321a372..ff10db8811 for: 3.5.10 WT-1939 Improve error handling in example code WT-3181 Add support for MongoDB timestamps WT-3342 Create a new WiredTiger 2.9.2 release WT-3363 Add test case to detect when drops may be blocked by checkpoints WT-3373 Access violation due to a bug in internal page splitting WT-3385 Coverity 1376471: __wt_txn_parse_timestamp() memory overrun WT-3391 Create a WiredTiger 2.9.3 release. WT-3392 Coverity analysis complaints WT-3393 Missing barrier when a WT_UPDATE structure is appended to list. Also manually update wiredtiger_config.h pre-generated files in MongoDB source tree
* Import wiredtiger: 7aaeaaa054d1ac27a95c79984f7ca69ba739caae from branch ↵Alex Gorrod2017-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: 78109ca3fe..7aaeaaa054 for: 3.5.9 SERVER-28820 Recovery failed: WT_NOTFOUND: item not found SERVER-28835 Fix a memory leak in WiredTiger on error when creating thread group WT-2972 Add interface allowing partial updates to existing values WT-3041 Failure of test_perf01 on PPC WT-3063 Reserve records for read-modify-write WT-3076 Add a general-purpose epoch manager WT-3123 Thread group holding lock across thread join WT-3142 Add a workload generator application WT-3158 Fix structure layout on Windows. WT-3160 Improve eviction of internal pages from idle trees WT-3197 aarch64 CRC32C support fails to compile on non-linux ARM platforms WT-3219 Make the clang-analyzer job fail when lint is introduced WT-3222 Review and enhance log statistics WT-3245 Avoid hangs on shutdown when a utility thread encounters an error WT-3247 Test should exit instead of abort to avoid a core dump WT-3248 Performance degradation in workload with large overflow items WT-3253 txn07 test problem WT-3258 Improve visibility into thread wait time due to pages exceeding memory_page_max WT-3261 add a checkpoint epoch to avoid draining the eviction queue WT-3262 Schema operations shouldn't wait for cache WT-3263 Allow archive on restart/recovery if clean shutdown WT-3264 Permanent change to disable logging should eventually remove all logs WT-3265 Verify hits assertion in eviction when transiting handle to exclusive mode WT-3266 Thread group deadlock WT-3267 Upgrade copyright notices from 2016 to 2017. WT-3268 Failure to close cursor can get wiredtiger stuck in a cursor-close loop WT-3269 Miscellaneous cleanup changes WT-3271 Eviction tuning stuck in a loop WT-3275 stress test sanitizer failure WT-3278 log the row-store cursor key instead of page key WT-3281 stress test sanitizer failure WT-3282 Stuck in conn cache pool destroy join WT-3284 tree-walk restart bug WT-3287 review WiredTiger internal panic checks WT-3288 fix error codes for event_handler to be consistent in file operations WT-3292 review/cleanup full-barrier calls in WiredTiger WT-3293 Make internal symbols externally visible WT-3296 LAS table fixes/improvements WT-3297 support the gcc/clang -fvisibility=hidden flag WT-3300 Coverity 1374542: Dereference after null check WT-3302 Failure to create cache pool manager thread results in crash when destroying cache pool WT-3303 Deadlock during first access to lookaside table WT-3307 FI testing: segfault in python test test_bug013 when fault introduced reading turtle file WT-3312 encryption btree configuration test WT-3313 Replace calls to the deprecated LZ4_compress function WT-3314 clarify error handling WT-3327 Checkpoints can hang if time runs backward WT-3331 Test format aborted due to time rollback WT-3333 Make it possible to store 0 bytes into a 'u' format via Python WT-3334 static test suite's BaseDataSet class has 'u' value format bugs WT-3339 The CURSOR_UPDATE_API_CALL macro will dump core on a NULL btree handle WT-3342 Create a new WiredTiger 2.9.2 release WT-3343 WiredTiger database close can attempt unlock of a lock that's not held. WT-3345 Improve rwlock scaling WT-3348 Lint, Windows warnings. WT-3351 Recovery assertion failure: old_lognum < lognum WT-3354 Coverity issues 1375904-1375907 WT-3356 rwlock assertion failure on PPC
* Import wiredtiger: af735d14a603a6ef6256a6685f09ec13755a5024 from branch ↵Alex Gorrod2017-04-011-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: cc2f15f595..af735d14a6 for: 3.5.6 SERVER-28168 Cannot start or repair mongodb after unexpected shutdown. SERVER-28194 Missing WiredTiger.turtle file loses data WT-2439 Enhance reconciliation page layout WT-2978 Make WiredTiger python binding pip-compatible WT-2990 Fix a new bug where checkpoint load live_open failed WT-3136 bug fix: WiredTiger doesn't check sprintf calls for error return WT-3155 Remove WT_CONN_SERVER_RUN flag WT-3182 Switch make-check to run the short test suite by default WT-3190 Enhance eviction thread auto-tuning algorithm WT-3191 Fix lint complaints WT-3193 Close a race between verify opening a handle and eviction visiting it WT-3196 Race with LSM and eviction when switching chunks WT-3199 bug: eviction assertion failure WT-3202 wtperf report an error on in_memory=true mode : No such file or directory WT-3203 bulk-load state changes can race WT-3204 eviction changes cost LSM performance WT-3206 bug: core dump on NULL page index WT-3207 Drops with checkpoint_wait=false should not wait for checkpoints WT-3208 test format hung with 9mb cache WT-3211 WT_CURSOR.remove cannot always retain its position. WT-3212 'wt dump' crashes when given table with unknown collator WT-3213 generated test/format CONFIG invalid on next run WT-3216 add support for clang-tidy WT-3218 unexpected checkpoint ordering failures WT-3224 LSM assertion failure pindex->entries == 1 WT-3225 WiredTiger won't build with clang on CentOS 7.3.1611 WT-3227 Python test suite inserts unnecessary whitespace in error output. WT-3228 Remove with overwrite shouldn't return WT_NOTFOUND WT-3234 Update WiredTiger build for clang 4.0. WT-3238 Java: Cursor.compare and Cursor.equals throw Exceptions for valid return values WT-3240 Coverity reports WT-3243 Reorder log slot release so joins don't wait on IO WT-3244 Metadata operations failing in in-memory configurations when the cache is full WT-98 Update the current cursor value without a search
* Import wiredtiger: e1bcc30da91eedd0b17cebb725cc7e607ffa2340 from branch ↵Alex Gorrod2017-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: 48a3cbc17f..e1bcc30da9 for: 3.5.4 WT-2790 Fix a text case false positive in test_sweep01 WT-2909 Create automatable test verifying checkpoint integrity after errors WT-3088 bug: Don't evict a page with refs visible to readers after a split WT-3097 Race on reconfigure or shutdown can lead to waiting for statistics log server WT-3111 util_create() doesnt free memory assigned to "uri" WT-3113 Add a verbose mode to dump the cache when eviction is stuck WT-3115 Change the dhandle lock to a read/write lock WT-3120 Fix ordering problem in connection_close for filesystem loaded in an extension WT-3135 search_near() for index with custom collator WT-3137 Hang in __log_slot_join/__log_slot_switch_internal WT-3139 Enhance wtperf to support periodic table scans WT-3144 bug fix: random cursor returns not-found when descending to an empty page WT-3148 Improve eviction efficiency with many small trees WT-3149 Change eviction to start new walks from a random place in the tree WT-3150 Reduce impact of checkpoints on eviction server WT-3152 Convert table lock from a spinlock to a read write lock WT-3156 Assertion in log_write fires after write failure WT-3157 checkpoint/transaction integrity issue when writes fail. WT-3159 Incorrect key for index containing multiple variable sized entries WT-3161 checkpoint hang after write failure injection. WT-3164 Ensure all relevant btree fields are reset on checkpoint error WT-3170 Clear the eviction walk point while populating from a tree WT-3173 Add runtime detection for s390x CRC32 hardware support WT-3174 Coverity/lint cleanup WT-3175 New hang in internal page split WT-3179 Test bug: clang sanitizer failure in fail_fs WT-3180 Fault injection tests should only run as "long" tests and should not create core files WT-3184 Problem duplicating index cursor with custom collator WT-3186 Fix error path and panic detection in logging loops