summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src
Commit message (Collapse)AuthorAgeFilesLines
* Import wiredtiger: f3d8dbf9cc285e1f508562ab5d28e029d66b2101 from branch ↵Luke Chen2019-10-17149-4126/+3355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 18d13b8f6b..f3d8dbf9cc for: 4.2.2 WT-4702 Switch to ubuntu1804-test Evergreen distro WT-4715 Workloads will stall if old transaction or timestamp pinned by thread co-opted for eviction WT-4961 Checkpoints with cache overflow must keep history for reads WT-4972 Add new RHEL Evergreen build variant WT-4975 Migrate Jenkins “wiredtiger-pull-request-asan” job to Evergreen WT-5083 Add mips64el support WT-5093 Enable million-collection-test working with Evergreen distro rhel80-build WT-5094 Enable Windows compile task working with Evergreen distro windows-64-vs2017-test WT-5118 Remove incorrect assert that there are no hazard references to discarded WT_REF WT-5122 Shut down the sweep server before doing the final checkpoint WT-5123 Fill multi-paragraph comments WT-5128 Add script to run wtperf with XRay profiling WT-5130 Enable Big-endian (s390x/zSeries) working with Evergreen distro ubuntu1804-zseries-build WT-5134 Fix leaf-page only search and search-near operations WT-5135 Change lookaside file inserts to use cursor.insert WT-5140 Fix where a cursor returning random items can use an uninitialized buffer WT-5143 Fix typo in error message WT-5148 Switch little-endian test to use ubuntu1808 distro WT-5149 Clear the debugging field value so it cannot get stale WT-5150 LAS sweep is not removing the entries that are no longer required WT-5156 Lookaside table cursors not operating at isolation level WT_ISO_READ_UNCOMMITTED WT-5160 Stop requiring a checkpoint before calling rollback_to_stable WT-5161 Remove deprecated git.apply_patch WT-5163 Fix ignored failure return in WT_CURSOR.next when random retrieval configured WT-5164 Fix inconsistent underscore/dash output WT-5166 Allow configuring configure flags in evergreen builds
* Import wiredtiger: 18d13b8f6bc8d345952f16a7f3c63608e405fd77 from branch ↵Luke Chen2019-10-026-167/+345
| | | | | | | | | | | | | | | | mongodb-4.2 ref: c600bde203..18d13b8f6b for: 4.2.1 WT-5068 WT_CURSOR.random unnecessarily returns duplicate records WT-5097 Coverity - Fix two minor issues in random_abort/main.c WT-5104 Add readonly flag to wt utility WT-5105 Bypass test_wt2535_insert_race for valgrind WT-5108 Remove unneeded no-op line and comment WT-5113 Create basic test format config to be added to PR testing WT-5131 Fix Evergreen configuration file to use working directory WT-5132 Fix buffer overflow caused by fscanf range check
* Import wiredtiger: c600bde20363629405082a3ea985b70dfb00850e from branch ↵Luke Chen2019-09-09309-111485/+102290
| | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 280c572c80..c600bde203 for: 4.2.1 WT-4535 Enhance wt command line utility to use read-only mode WT-4658 Apply Clang Format WT-4810 Adding WT_ERR_ASSERT and WT_RET_ASSERT macros WT-4831 Add option to python tests to not fail if stdout is not empty WT-4884 Test for recovery correctness with modify operations WT-4935 Add a perf test to find out the wiredtiger_calc_modify overhead WT-4966 Fix valgrind detected memory leak from test/csuite/import/smoke.sh WT-5043 Add debugging to aid in test/format hang WT-5046 Prepared transactions aren't properly cleared from global table with WT_CONN_LOG_DEBUG_MODE enabled WT-5062 Adjust the record size to consume less size WT-5063 Return proper error message for cursor modify operation for not supported cursor types WT-5074 Fix "make check" on exotic architectures WT-5076 Cut WiredTiger 3.2.1 release WT-5080 New wtperf workload modify_distribute option WT-5085 Fix spacing in wtperf output WT-5087 Add time tracking at start of reconciliation WT-5088 Refine clearing and setting of debug timer WT-5100 Update test format to disable readonly mode in utility
* Import wiredtiger: 280c572c8097a322e429a349f73135266f3faacf from branch ↵Luke Chen2019-08-1623-219/+428
| | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 1a1197ef3c..280c572c80 for: 4.2.1 WT-4344 Add more test cases for metadata salvage WT-4460 Optimize for in-order, non-overlapping modifications WT-4858 Add compatibility support for gcc-9 and clang-8 WT-4909 Fix potential code caching/re-ordering issue in __search_insert_append WT-4917 Fix test/format where truncate operations not correctly compared with previous updates WT-4946 Tighten up failure checks for cursor join WT-4956 Handle the case where 4 billion updates are made to a page without eviction WT-4957 Revert part of a change about when pages are queued for urgent eviction WT-4963 Add debugging for rare test hang WT-4965 Disable problematic eviction during checkpoints WT-5036 Fix test/format where tracking buffer wrap causes repeatable operation failure WT-5038 Prevent eviction of prepared updates during commit WT-5040 Add dumping of cursor's page on a mismatch WT-5050 Assertion failure during urgent eviction of metadata page WT-5054 Fix test/format bug where truncation operations could fail repeatable read testing
* Import wiredtiger: 1a1197ef3c891458cd73290ad9b01c1e969f7e86 from branch ↵r4.2.0-rc6Luke Chen2019-08-061-20/+20
| | | | | | | | | mongodb-4.2 ref: 1652e0a804..1a1197ef3c for: 4.2.0-rc6 WT-4957 Revert part of a change about when pages are queued for urgent eviction
* Import wiredtiger: 1652e0a80435b0b7bc876a1e0688e8b00dde38ce from branch ↵Luke Chen2019-07-311-1/+10
| | | | | | | | | mongodb-4.2 ref: 836466fade..1652e0a804 for: 4.2.0-rc5 WT-4965 Disable problematic eviction during checkpoints
* Import wiredtiger: 836466fade7ff00065bff23eea86c8c21b52b3da from branch ↵Luke Chen2019-07-2526-364/+539
| | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 3f68638211..836466fade for: 4.2.0 WT-4899 Fix bugs that could allow more than one birthmark in an update chain WT-4900 Implement all_durable timestamp WT-4906 Coverity - Fix several identified issues in wtperf.c WT-4908 Add verbose failure messages during the metadata recovery phase. WT-4930 Fix likely coding errors of error returns after jump to error WT-4931 Fix clang testing in Jenkins Pull Request testing WT-4932 Add logging files to WiredTiger big/little-endian testing WT-4934 Fix and update clang-tidy testing WT-4936 Update clang-scan expected output. WT-4937 Fix verify_wt_datafiles.sh to run if no LD_LIBRARY_PATH variable set WT-4939 Fix a test for skipping checkpoints which never returns success WT-4940 Reconciliation should set prepared/uncommitted for each update WT-4943 Fix a bug where uncommitted updates could be discarded WT-4958 Temporarily never skip checkpoints with a timestamp
* Import wiredtiger: 3f686382114354b29b1d92b9c4a7dfc870dc5b94 from branch ↵Luke Chen2019-07-1570-246/+560
| | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 99e0760cc5..3f68638211 for: 4.2.0-rc3 WT-4530 WiredTiger session statistics cursor returns incorrect key on BigEndian systems WT-4612 Improve test coverage for prepare updates older than the oldest WT-4791 Coverity: Dereferencing null (cbt->ins) WT-4842 Enhance lookaside score calculation WT-4857 Fix a bug in column store where skip list traversal could miss an entry WT-4889 Dump additional transaction fields WT-4913 Fix the Windows CRC32 on blocks that aren't 8B aligned and/or multiples of 8B WT-4916 Clang Format pre-formatting fixes WT-4926 Fix the WiredTiger static test suite's test for EBUSY failures WT-4927 Allow updates with timestamps to be evicted to lookaside WT-4928 Fix clang scan warnings in Jenkins Pull Request testing
* Import wiredtiger: 99e0760cc5f11440b21184874d8dd2ae5bde23d6 from branch ↵Luke Chen2019-07-1035-602/+837
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: d86b3a8a33..99e0760cc5 for: 4.2.0-rc3 WT-4502 Assertion checking hazard pointers on page discard is too strong WT-4733 Change test/format to do longer-term repeatable read testing WT-4743 Fix memory leaks and core dumps in page-split error handling WT-4786 Coverity: Invalid format specifiers in printf-like invocations WT-4792 Add stat to track pages queued for eviction after LRU sorting WT-4805 Modify error message verification for test_prepare04.py WT-4812 Fix the Python distribution script for Python3 changes WT-4818 Add debugging of bad read file descriptor when files are missing during recovery WT-4832 Change ordering on shutdown to close LSM and async threads earlier WT-4836 Lower scheduling frequency for endianness compatibility tests WT-4840 WT_CURSOR.modify must require explicit, snapshot-isolation transaction WT-4864 Coverity: Redundant NULL check WT-4866 Coverity: WT_SESSION.import can leak memory WT-4867 Skip assertion when reserved updates are seen WT-4882 Improve checkpoint performance when there are large metadata pages WT-4887 Skip read timestamp required assert during recovery WT-4888 Remove support for Berkeley DB WT-4891 WT_SESSION.verify memory allocation overrun WT-4892 Improve statistics about forced eviction WT-4893 Fix a race between internal page child-page eviction checks and cursors in the tree WT-4895 Fix debug eviction mode so it chooses skew more randomly WT-4898 Don't allow the eviction server to reconcile if it's busy WT-4910 Port Windows SConstruct to Python 3 WT-4918 LSM allocated mutexes leaked in readonly tests WT-4920 Add statistics tracking when eviction server is waiting for page transitions
* Import wiredtiger: d86b3a8a331a1ec478c4ea75ef1b15856b429790 from branch ↵Luke Chen2019-07-025-86/+127
| | | | | | | | | | | | | | mongodb-4.2 ref: ee1bae2623..d86b3a8a33 for: 4.2.0-rc3 WT-4758 Create a workload that bottlenecks on the eviction server filling eviction queues WT-4821 Update evergreen config to pull correct source for largescale test WT-4875 Fix commit timestamp assert function to consider non transactional tombstones WT-4877 Uninitialized memory being written during checkpoints WT-4878 Disable random dhandle selection and fine tune eviction target calculations WT-4881 Soften the restrictions on re-entering reconciliation
* Import wiredtiger: ee1bae262347285f46b5c56cc0490d20b9ee9c98 from branch ↵r4.2.0-rc2Luke Chen2019-06-2628-899/+1138
| | | | | | | | | | | | | mongodb-4.2 ref: 40e3225e55..ee1bae2623 for: 4.2.0-rc2 WT-4694 Dynamic compression throughput varies widely WT-4798 Fix bug in picking random dhandle for eviction WT-4862 WT_SESSION.import implies an additional write during checkpoints without an avail list WT-4863 Prototype WiredTiger inline functions WT-4869 Stop adding cache pressure when eviction is falling behind
* Import wiredtiger: 40e3225e55ffbf0c9819af138fa4a014c0639c72 from branch ↵Luke Chen2019-06-1752-710/+2070
| | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 9b85ad8968..40e3225e55 for: 4.2.0 WT-4477 Add eviction debug mode and extra checks WT-4494 Support import of of standalone WiredTiger files. WT-4580 Abort transactions that perform updates with ignore_prepare=true WT-4719 Non-zero update count detected when committing prepared transaction WT-4787 Coverity: Potential infinite loops WT-4790 Coverity: Memory leak within __wt_curbulk_init WT-4827 Apply commit timestamps when a truncated page is read WT-4829 File names are generated incorrectly in operation tracking scripts WT-4837 Disabled cache during verify WT-4839 Add a feature to python testsuite to run a random subset of tests WT-4844 Only log an informational message when a set read-timestamp is older than the oldest timestamp. WT-4848 Fix perf regression when calculating differences WT-4850 Fix __slvg_checkpoint() metadata memory leak WT-4851 heap-use-after-free when block manager grows buffer during final checkpoint WT-4852 Evergreen runs of test/format require shared library extensions WT-4853 standalone recovery code cannot handle deleted checkpoints WT-4854 wt utility list command has a memory leak and minor error handling bugs. WT-4855 WiredTiger recovery should detect files without unique IDs WT-4859 Fix test/format program path issue for endian tests
* Import wiredtiger: 9b85ad89688bd72b8a649d844a7e458832955764 from branch ↵Luke Chen2019-06-052-7/+24
| | | | | | | | | | | | | | mongodb-4.2 ref: 57bd75fee9..9b85ad8968 for: 4.2.0-rc0 WT-4190 Decrease shutdown time by doing multi-threaded cache flush WT-4608 Cache stuck with clean pages for LSM data format testing WT-4775 Make the "bad file descriptor" test resilient against crashing WT-4793 Extend test/checkpoint to use timestamps and more WT-4825 Add warning in operation tracking if the open file limit is too small WT-4828 Fix type-related exception in operation tracking after conversion to Python3.
* Import wiredtiger: 57bd75fee93b685c133281100719f886d0184589 from branch ↵r4.1.13Luke Chen2019-05-2930-517/+1091
| | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 5d321d0c60..57bd75fee9 for: 4.1.13 WT-4240 Document that system crashes may result in files that need salvaging WT-4710 Fix memory issue for non-verbose dump in datafile portability test WT-4712 Add debug log op record for non-logged tables WT-4732 Remove the bias from the eviction policy on the dhandle order WT-4760 Checkpoint should not read past a stable update WT-4771 Fix compatibility tests to handle a new version release WT-4799 wiredtiger.in references the wrong statistics script WT-4800 List all flags in the wt utility usage statement WT-4803 Implement file_max configuration for Cache Overflow mechanism WT-4804 Add support for ignore_prepare=force WT-4811 Fix durable timestamp assignment for updates created for truncate WT-4816 Don't disallow LSM configurations in test/format WT-4817 heap-buffer-overflow failure in timestamp_abort WT-4819 wt utility list command drops core on empty objects WT-4822 Extend statistics to track max pre compression page sizes WT-4823 Add check for uninitialised lookaside resources
* Import wiredtiger: 5d321d0c6091636a2344ef9915ca06b0c078bda3 from branch ↵Luke Chen2019-05-1718-67/+142
| | | | | | | | | | | | | | mongodb-4.2 ref: a332548202..5d321d0c60 for: 4.1.12 WT-4768 Inconsistent data with lookaside eviction followed by sweep WT-4769 Don't discard active history for empty pages WT-4776 Modify operations should be equivalent to updates WT-4778 MSVC build fails when optimisation is turned off WT-4794 Mark lookaside history resolved in all paths WT-4796 Enhance diagnostics that track ref state transitions
* Import wiredtiger: a3325482022bc77846ffc0265097edfebccaadd3 from branch ↵Luke Chen2019-05-141-2/+6
| | | | | | | | | | mongodb-4.2 ref: 315563f288..a332548202 for: 4.1.12 WT-4747 Python3: change optrack scripts to run under Python3 WT-4779 Disable new assertion related to timestamp consistency
* Import wiredtiger: 315563f28850026673ebb146b6f3d727178e58bc from branch ↵Luke Chen2019-05-1311-144/+89
| | | | | | | | | | | | | | mongodb-4.2 ref: d9ec69f911..315563f288 for: 4.1.12 WT-3929 Fix "pip install" to work with Python3 WT-4669 Convert operation tracking logs to t2 format WT-4750 Sweep can remove active lookaside records when files are closed and re-opened WT-4765 Remove support for Helium/Levyx data sources in WiredTiger WT-4766 Python3: fix wt_ckpt_decode.py to work with python2 WT-4767 Compatibility tests failed after 3.2.0 release
* Import wiredtiger: d9ec69f9111b036ee0b19b47368e15bff8d4818d from branch ↵Luke Chen2019-05-0754-5150/+5816
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 617a81369c..d9ec69f911 for: 4.1.11 WT-4278 Clarify in docs that schema operations are not transactional WT-4309 Increase the maximum expected LAS test reads WT-4352 Resolve birthmarks during eviction in more cases WT-4582 Respect prepared updates in lookaside WT-4642 Store transaction IDs durably WT-4670 Remove support for WiredTiger LevelDB APIs WT-4688 Fix test and docs for correct log cursor usage WT-4690 Make sure eviction does not split during checkpoints WT-4697 Python3: change workgen to work with Python3 WT-4706 Add a statistic to track the lookaside table size WT-4723 Restructure the reconciliation code WT-4725 Python3: change miscellaneous scripts to run under Python3 WT-4726 Python3: set up pull request tester to run with Python3 WT-4728 Remove the stop timestamp from the WT_UPDATE structure WT-4738 Tighten rules around use of timestamps WT-4745 Update upgrading documentation before 3.2.0 WiredTiger release WT-4746 Document that transactions without timestamps clear history WT-4749 Fix error message formatting (possible SEGV) for prepare_transaction WT-4751 Change __wt_timestamp_to_string() to return a pointer to simplify verbose WT-4752 WiredTiger autoconfig check for the compiler incorrectly quoted WT-4753 Strip the timing_stress configuration options from the base configuration WT-4754 Change the checkpoint code to not require a list order WT-4755 Switch to a better timestamp and transaction ID ordering convention WT-4756 Fix comment in python integer encoder WT-4759 Save a copy when an old overflow value is discarded WT-4764 Avoid choosing a transaction frequency of 0 in test/format
* Import wiredtiger: 617a81369c810c0b99493a09d3fce862f4d0cdec from branch ↵Luke Chen2019-04-2615-103/+125
| | | | | | | | | | | | | | | mongodb-4.2 ref: 9416282c42..617a81369c for: 4.1.11 WT-4450 Add testing around timestamping updates in the future WT-4575 Use wt_err instead of wt_errx for corruption messages WT-4647 Avoid splitting words when wrapping lines in wiredtiger.in WT-4717 Remove usages of "round_to_oldest" configuration WT-4720 Coverity complaint #111697: handle tiny sizes in block manager reads WT-4721 Add verbose output for failures in the wt2853_perf test WT-4731 Add new retries to the checkpoint integrity test
* Import wiredtiger: 9416282c42d40328dfb7ff0f28831f639f98d3cb from branch ↵Luke Chen2019-04-1639-645/+807
| | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 1768d66613..9416282c42 for: 4.1.11 WT-4317 Read checksum error in test_wt4156_metadata_salvage WT-4579 Track the newest durable timestamp for each page WT-4585 Add WT_WITH_HOTBACKUP_LOCK macro WT-4598 Enable the assertion that the durable_timestamp is newer than or equals the commit timestamp. WT-4640 Remove round_to_oldest in favour of roundup_timestamps WT-4695 Python3: allow most tests to run with Python3 with small changes WT-4696 Python3: change dist scripts to run under Python3 WT-4698 Python3: fix modify related tests WT-4699 Python3: fix test_jsondump02.py WT-4700 Python3: run with same source as Python2 WT-4703 Extend test/checkpoint to do removes and online checking WT-4704 Add statistic tracking oldest active read timestamp WT-4705 column-store no longer needs to handle WT_COL page offsets of 0 WT-4707 Failure in verifying cells with copied values WT-4708 Coverity reported copy-paste error in WiredTiger error message WT-4711 Python formatting errors reported while running "s_all" WT-4714 Use the durable timestamp to determine if a page should stay dirty WT-4724 Syntax error in wtperf_ckpt.sh when running 'dash' as default shell
* Import wiredtiger: 1768d66613fc32b664ac3608a4e740d5e8c6fd0f from branch ↵Luke Chen2019-04-0810-412/+460
| | | | | | | | | | | | | mongodb-4.2 ref: bb8086c4ed..1768d66613 for: 4.1.10 WT-4639 Use test/format to verify database file portability WT-4644 column-store missing run-length encoding opportunities WT-4652 Return an error if durable timestamp is not passed to a prepared transaction. WT-4687 test/format can try to set oldest timestamp to 0 WT-4693 WT_CONNECTION::reconfigure should not require quiescence when downgraded
* Import wiredtiger: bb8086c4ed645854f19554198f391ea8c821f603 from branch ↵Luke Chen2019-04-016-46/+98
| | | | | | | | | | | | | mongodb-4.2 ref: 67066a329d..bb8086c4ed for: 4.1.10 WT-4614 Trigger sweep immediately to reclaim space after a table drop WT-4631 Always clear the read timestamp for transactions WT-4636 Fix strace in syscall test WT-4650 Coverity complaint: Constant expression result (CONSTANT_EXPRESSION_RESULT) WT-4668 lint
* Import wiredtiger: 67066a329d365cb1de6e198184016d4a9d280679 from branch ↵Luke Chen2019-03-2511-70/+231
| | | | | | | | | | | | | | | | | | | 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-1819-120/+80
| | | | | | | | | | | | | | 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: 82c3f83acae289e0ada5ab4e7fe549e47af1078e from branch ↵Luke Chen2019-03-0824-76/+237
| | | | | | | | | | | | | mongodb-4.2 ref: afdead1093..82c3f83aca for: 4.1.9 WT-4526 Allow durable updates to be evicted to the lookaside file WT-4571 Explore performance improvement in __wt_txn_id_alloc WT-4602 Clang Tidy and Clang Scan fixes WT-4607 Allow prepared transaction to commit behind oldest timestamp WT-4619 Coverity 111398: leaked memory
* Import wiredtiger: afdead1093b5c5b41dd54ddddf6f42d92bef1666 from branch ↵Luke Chen2019-03-0548-569/+967
| | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.2 ref: 37e1570f82..afdead1093 for: 4.1.9 WT-4413 Add optional compact progress messages WT-4465 Add documentation for a dhandle's lifecycle WT-4514 Implement assert=durable_timestamp WT-4517 Change WT data format to avoid writing stable timestamps WT-4537 Fix WiredTiger cursor prev/next traversal failure on prepare retry WT-4554 Enhance WT salvage to handle the case of corrupted WiredTiger.turtle WT-4556 workgen: add synchronization points during run time WT-4558 WiredTiger connection statistics cursor incorrectly provides doubled-up values WT-4568 Operation tracking visualization incorrectly displays call stacks WT-4573 Reducing calls to __wt_epoch from session reset WT-4587 Parallelize the script that parses operation tracking files WT-4595 Coverity "null pointer dereference" complaints WT-4596 Simplify wt utility's session/connection handling WT-4599 Show latency threshold violations in operation visualizations WT-4605 workgen: read_write_storms.py needs a public domain notice WT-4606 workgen: remove lsm from the default table type in wtperf emulation WT-4613 Skip the wt4333_handle_locks test on OS X WT-4615 Sync backup file before returning backup cursor WT-4617 Cursor next/prev returns PREPARE_CONFLICT only once
* Import wiredtiger: 37e1570f8205f3e2d32a7abef6d0e8b09421f3ad from branch ↵Luke Pearson2019-02-1913-131/+186
| | | | | | | | | | | | mongodb-4.2 ref: 94c514c558..37e1570f82 for: 4.1.9 WT-4516 Change WT data format to include timestamps in checkpoints WT-4578 test/format should drop core even when deadlocked WT-4588 test/format should drop core even when Jenkins or connection terminates WT-4592 OS X build platform doesn't support timer_create() and timer_settime()
* Import wiredtiger: 94c514c558b60a2e00d4926c7535d062fce5a901 from branch ↵Luke Chen2019-02-155-40/+25
| | | | | | | | | | mongodb-4.2 ref: 0c6ba8d8be..94c514c558 for: 4.1.9 WT-4577 Fix LSM deadlock detected by test/format WT-4583 Collect read/write stats in throttling even if not using capacity
* Import wiredtiger: 0c6ba8d8be02dd34a46c3e9533971f1739b6ad8e from branch ↵Luke Chen2019-02-1459-675/+1820
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Import wiredtiger: 92719d6bc9a83ce45c337db6a67adcc1354cca32 from branch ↵Luke Chen2019-02-041-2/+14
| | | | | | | | | | | | mongodb-4.2 ref: e727b7296c..92719d6bc9 for: 4.1.8 WT-4508 Fix a leak of index structure memory WT-4536 Compile wiredtiger under build_posix directory for Evergreen tests WT-4548 Skip test_wt2853_perf for slow machines WT-4549 Enable wtperf_config.py to work with python2/3
* Import wiredtiger: e727b7296c881d86920ebe5175e7eb0084148153 from branch ↵Luke Chen2019-01-2910-31/+98
| | | | | | | | | | | | mongodb-4.2 ref: 1e7f5178b3..e727b7296c for: 4.1.8 WT-4490 Enhance gating variable for durable history content WT-4529 Update lookaside schema to store durable timestamp WT-4532 Fix null pointer access to WT_DATA_HANDLE in __wt_page_in_func WT-4539 Set the durable timestamp of the update structure
* Import wiredtiger: 1e7f5178b3e28d1f22d3f23cb632ba45b56d0091 from branch ↵Luke Chen2019-01-2121-513/+1117
| | | | | | | | | | | mongodb-4.2 ref: 2183883231..1e7f5178b3 for: 4.1.8 WT-4491 Change WT data format to include timestamps in internal page address cells WT-4520 Fix prepare transactions fallout during cursor navigation WT-4528 Retry Windows functions on access denied
* Import wiredtiger: 21838832317b7c38b1a3e929283170515b08bb79 from branch ↵Luke Chen2019-01-173-12/+9
| | | | | | | | | | | | mongodb-4.2 ref: fa402fef19..2183883231 for: 4.1.8 WT-4452 Fix bugs in the salvage test for big endian WT-4503 Pre-allocating log file takes long time on PPC machine WT-4524 wt2853_perf failures in valgrind WT-4525 wt4333_handle_locks failures in valgrind
* Import wiredtiger: fa402fef1974b30ef61770caff58b0eabda97781 from branch ↵Luke Chen2019-01-10288-644/+895
| | | | | | | | | | | | | 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: 86012f8e40636cd602188ba7cf3a4724624bfa53 from branch ↵Luke Chen2019-01-071-2/+9
| | | | | | | | | | mongodb-4.2 ref: e6c1b9724e..86012f8e40 for: 4.1.7 WT-4510 Failure when verifying internal pages of older version data files WT-4519 test/format RNG no longer random
* Import wiredtiger: e6c1b9724ed6ed2879a36d7e140f4fa9daceb261 from branch ↵Luke Chen2018-12-2731-462/+653
| | | | | | | | | | | | | 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: d5793d4dd57bb763079e3f79821444e7e666ff44 from branch ↵Luke Chen2018-12-1717-84/+115
| | | | | | | | | | | mongodb-4.2 ref: 5812c92f5f..d5793d4dd5 for: 4.1.7 WT-4280 Add debugging to know which session has a hazard pointer WT-4430 Fix race between prepare and page instantiate with fast truncate WT-4482 lint
* Import wiredtiger: 5812c92f5fb2ed3b58d0398e5cbe1cb33380d450 from branch ↵Luke Chen2018-12-1116-251/+297
| | | | | | | | | | | | | | | | mongodb-4.2 ref: fcb59a43a4..5812c92f5f for: 4.1.7 WT-4383 Update session statistics to reflect the operation statistics. WT-4384 Add documentation about session statistics cursor WT-4438 Use more accurate statistics for cursor cache totals WT-4454 Auto-generate Evergreen configuration when adding new 'make check' or csuite tests WT-4470 Minimize testing that requires TESTUTIL_ENABLE_LONG_TESTS WT-4479 Remove schema lock wait assertion from the test WT-4480 Fix duplicate backup cursor and archiving check WT-4481 Evergreen script cleanups
* Import wiredtiger: fcb59a43a44222716ddae6d94d45cdfd36b915f7 from branch ↵Luke Chen2018-12-0525-1121/+745
| | | | | | | | | | | | | | | | | | | | | | 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: 74aa2f92a95596196d8ff131cdf015850613c893 from branch ↵Luke Chen2018-11-2647-1068/+473
| | | | | | | | | | | | | | mongodb-4.2 ref: a065c83d8d..74aa2f92a9 for: 4.1.6 WT-3756 Adjust pre-allocated file amount downward if we're not using them quickly enough WT-4381 Reset session statistics as on WT_SESSION::reset() WT-4394 Reduce Evergreen Ubuntu build variant runtime by splitting up 'make check' tests WT-4419 big-endian machines incorrectly configure little-endian crc32c support WT-4427 Make WiredTiger timestamps always on and 8 bytes WT-4440 Force a copy of the stable timestamp for clarity
* Import wiredtiger: a065c83d8dd73d1c0199f742d6ee15d73c7e1394 from branch ↵Luke Chen2018-11-2117-500/+662
| | | | | | | | | | | | | mongodb-4.2 ref: fe4a3f763b..a065c83d8d for: 4.1.6 WT-4372 For throughput testing, create a standard metric to measure latency smoothness WT-4378 Create new auto functions and cursor for session level statistics WT-4403 Add statistic tracking accumulated dirty cache WT-4405 Fix cursor next and prev for prepared transactions WT-4409 Fix workgen throttling
* Import wiredtiger: fe4a3f763bd9951cb7afcb55c03a942e24a4a588 from branch ↵Luke Chen2018-11-192-1/+11
| | | | | | | | | | mongodb-4.2 ref: 849c21c26c..fe4a3f763b for: 4.1.6 WT-4159 Improve log preallocation algorithm WT-4345 Set corruption and return salvage on facing a missing log file
* Import wiredtiger: 849c21c26c879bb1195f211b63bdea74868094ea from branch ↵Luke Chen2018-11-135-267/+299
| | | | | | | | | | | | | | | | mongodb-4.2 ref: e8cf194d81..849c21c26c for: 4.1.6 WT-4043 Take locks while dumping the cache to avoid crashes WT-4399 Fix compression for workgen's wtperf emulation WT-4401 workgen: wtperf emulation: sample_interval broken with integer values WT-4402 Add rollback support and monitor JSON output in wtperf WT-4411 Added connection statistic for current total of cached cursors WT-4412 wtperf coverity fixes WT-4418 Don't keep key/value memory buffers allocated for cached cursors WT-4422 Don't queue clean pages for urgent eviction
* Import wiredtiger: e8cf194d813096cc2b30c0dd2d9d9c93ade79756 from branch ↵Luke Chen2018-11-0228-141/+213
| | | | | | | | | | | | | | | | | mongodb-4.2 ref: 22b1224ee0..e8cf194d81 for: 4.1.5 WT-4298 Fix workgen to retry on WT_ROLLBACK and clear ops after warmup WT-4343 Unlock when sleeping to allow other log threads to make progress WT-4371 Workgen improvements to create a MongoDB-like workload WT-4376 Fix a bug where table index open can race WT-4385 Prepare-conflict during a cursor scan can return the wrong key WT-4392 A large lint change WT-4395 Seg fault walking corrupted log with log cursor WT-4396 When retrying after prepare-conflict, cursor unable to find a valid update WT-4400 Fix workgen use of PRIxxx macros, needed for old C++ compilers
* Import wiredtiger: 22b1224ee0623db1ed03f6bf5dd681deb1aa8b2e from branch ↵Luke Chen2018-10-2913-65/+87
| | | | | | | | | | | mongodb-4.2 ref: 0b8896b434..22b1224ee0 for: 4.1.5 WT-3898 Keep prepared updates in lookaside until they are read WT-4387 Fix ordering of referenced shared libraries in workgen WT-4389 Update wtperf runner script to accept multiple arguments
* Import wiredtiger: 0b8896b434eb9ad8210815db0cddd334d79160eb from branch ↵Luke Chen2018-10-233-51/+76
| | | | | | | | | | | mongodb-4.2 ref: 972eb97326..0b8896b434 for: 4.1.5 WT-4339 Revert part of a previous commit that simplified handle locking WT-4358 Enhance the handle-lock stress test program WT-4374 Fix a bug where a page could transition from WT_REF_LIMBO incorrectly
* Import wiredtiger: 972eb97326d86e2e6b660f3bc19f1b45e9bd361b from branch ↵Luke Chen2018-10-151-5/+3
| | | | | | | | | | mongodb-4.2 ref: d235e0e71e..972eb97326 for: 4.1.5 WT-4341 Support million collection testing in Evergeen WT-4355 Fail to find prepared updates during transaction rollback
* Import wiredtiger: d235e0e71ef84c3f9d5a870f08feeff9a7c5581e from branch ↵Luke Chen2018-10-099-146/+112
| | | | | | | | | | | | | | mongodb-4.2 ref: e7d742daa2..d235e0e71e for: 4.1.4 WT-4214 Simplify timestamp handling for timestamp abort test WT-4220 Enable long running prepared support WT-4293 WT_CURSOR.remove can lose a cursor position WT-4297 Enhance steady throughput workload WT-4346 Remove prepared updates from lookaside on reading the page. WT-4351 Ensure resolving prepared transactions use updates from itself
* Import wiredtiger: e7d742daa2d2500cd94a7061f754a1d0c4aa963c from branch ↵Luke Chen2018-10-0414-97/+230
| | | | | | | | | | | | | | | | mongodb-4.2 ref: 9ee7cc6956..e7d742daa2 for: 4.1.4 WT-3995 Enhance timestamp abort to accept more number of threads WT-4164 Ensure test/format configures a reasonably sized cache WT-4224 Add statistics for prepared transactions WT-4315 In rollback_to_stable, only check timestamp order if enforced WT-4328 Use an internal session handle for schema operations in a txn WT-4342 Set session max on all configuration strings in timestamp_abort test WT-4347 Limit the threads spawned by timestamp_abort with default config WT-4348 Create all tables before spawning threads in random_directio test
* Import wiredtiger: 9ee7cc6956dda425f3522f6d32ec55c67e9c49f8 from branch ↵Luke Chen2018-09-2711-103/+430
| | | | | | | | | | | | | | mongodb-4.2 ref: f2959cdb9f..9ee7cc6956 for: 4.1.4 WT-4217 Enhance commit and rollback to re-read prepared updates WT-4322 Enable direct I/O based crash test in make check WT-4335 Don't fail rollback_to_stable due to sweep activity WT-4337 Coverity #1395811 Time of check time of use WT-4338 New WT_TXN_TS_XXX flags break #undef HAVE_TIMESTAMPS build WT-4340 The cursor caching layer can incorrectly release too many handle locks