summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mongodb-3.4' into mongodb-3.2mongodb-3.2.5Michael Cahill2016-03-25251-3765/+12175
|\
| * Merge branch 'develop' into mongodb-3.4mongodb-3.3.4Alex Gorrod2016-03-22135-1433/+4213
| |\
| | * Merge pull request #2609 from wiredtiger/wt-2503Alex Gorrod2016-03-221-2/+2
| | |\ | | | | | | | | WT-2503 Rename "wait" to avoid shadowing system call.
| | | * WT-2503 Rename "wait" to avoid shadowing system call.Michael Cahill2016-03-221-2/+2
| | | |
| | * | Merge pull request #2608 from wiredtiger/wt-2506Alex Gorrod2016-03-221-9/+9
| | |\ \ | | | | | | | | | | WT-2506 Reorder to fix uninitialized variable warning.
| | | * | WT-2506 Reorder to fix uninitialized variable warning.Michael Cahill2016-03-221-9/+9
| | | |/
| | * | Merge pull request #2606 from wiredtiger/wt-2501-lsm-dropAlex Gorrod2016-03-222-0/+50
| | |\ \ | | | |/ | | |/| WT-2501 LSM drop can violate access assumptions.
| | | * WT-2501 Fix assertions to use new active field.Michael Cahill2016-03-221-3/+3
| | | |
| | | * Merge branch 'develop' into wt-2501-lsm-dropMichael Cahill2016-03-2213-194/+237
| | | |\ | | | |/ | | |/|
| | * | Merge pull request #2605 from wiredtiger/wt-2499-lsm-raceMichael Cahill2016-03-225-25/+34
| | |\ \ | | | | | | | | | | WT-2499 Fix a race in LSM between setting and checking WT_LSM_TREE_ACTIVE
| | | * | WT-2499 Cleanup LSM tree releaseAlex Gorrod2016-03-221-7/+4
| | | | |
| | | * | WT-2499 Fix LSM get with exclusive access set.Alex Gorrod2016-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | We should only set active when not opening an exclusive handle.
| | | * | WT-2499 Fix a race in LSM between setting and checking WT_LSM_TREE_ACTIVE.Alex Gorrod2016-03-215-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | | Tree close relies on any state change being visible immediately. Found by inspection, but could cause the symptom seen in this ticket.
| | * | | Merge pull request #2607 from wiredtiger/wt-2502Alex Gorrod2016-03-221-0/+5
| | |\ \ \ | | | | | | | | | | | | WT-2502 Free local allocation.
| | | * | | WT-2502 __wt_free clears the pointer; don't do it again.Alex Gorrod2016-03-221-1/+0
| | | | | |
| | | * | | WT-2502 Free local allocation.Susan LoVerso2016-03-211-0/+6
| | |/ / /
| | * | | Merge pull request #2598 from wiredtiger/wt-2426-checkpoint-lockingsueloverso2016-03-219-169/+198
| | |\ \ \ | | | |/ / | | |/| | WT-2426 Lock all handles for checkpoints in one pass.
| | | * | Merge branch 'develop' into wt-2426-checkpoint-lockingAlex Gorrod2016-03-2111-121/+300
| | | |\ \ | | | |/ / | | |/| |
| | | * | Merge pull request #2602 from wiredtiger/wt-2496-checkpoint-backup-raceAlex Gorrod2016-03-181-2/+3
| | | |\ \ | | | | | | | | | | | | WT-2496 Fix a race between checkpoint and starting a hot backup.
| | | | * | WT-2496 Fix a race between checkpoint and starting a hot backup.Michael Cahill2016-03-181-2/+3
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, a checkpoint could mark and lock an old checkpoint for deletion before a hotbackup starts. The hotbackup could then write metadata referencing that old backup which the checkpoint goes on to delete. The fix is crude: don't allow a hotbackup to start while a checkpoint is in progress.
| | | * | Merge branch 'develop' into wt-2426-checkpoint-lockingMichael Cahill2016-03-1710-38/+94
| | | |\ \
| | | * | | WT-2426 Lock all handles for checkpoints in one pass.Michael Cahill2016-03-178-167/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, gather all locks (including exclusive locks on old checkpoints) under the schema / handle list lock so we never reenter those locks once we have a handle exclusive. This extends the duration that we hold exclusive locks on checkpoints to include the write leaves phase. If that turns out to be a problem, we could further split out write leaves into a separate pass (that releases all handles at the end).
| | | | | * WT-2501 LSM drop can violate access assumptions.Alex Gorrod2016-03-212-0/+50
| | | |_|/ | | |/| | | | | | | | | | | | Add a test case demonstrating the problem.
| | * | | Merge pull request #2600 from wiredtiger/wt-2497-formatKeith Bostic2016-03-203-4/+18
| | |\ \ \ | | | | | | | | | | | | WT-2497 Create second backup copy.
| | | * | | WT-2497 Create second backup copy.Susan LoVerso2016-03-173-4/+18
| | | | | |
| | * | | | Merge pull request #2601 from wiredtiger/wt-2498-lsm-drop-hangMichael Cahill2016-03-182-16/+21
| | |\ \ \ \ | | | |/ / / | | |/| | | WT-2498 Fix a bug in LSM where table drop could hang.
| | | * | | WT-2498 Fix LSM close logic.Michael Cahill2016-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always wait for internal operations, optionally wait for application operations.
| | | * | | WT-2498 Fix a bug in LSM where table drop could hang.Alex Gorrod2016-03-182-16/+21
| | |/ / / | | | | | | | | | | | | | | | If there are open cursors.
| | * | | Merge pull request #2592 from wiredtiger/wt-2490Michael Cahill2016-03-175-74/+218
| | |\ \ \ | | | | | | | | | | | | WT-2490: search_near() returns wrong key for column-store
| | | * | | WT-2490: search_near() returns wrong key for column-storeKeith Bostic2016-03-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6bf871c9cc0379a15bf1aa550df6a1ea2dfd4521.
| | | * | | WT-2490: search_near() returns wrong key for column-storeKeith Bostic2016-03-163-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In variable-length column-store, updates/deletes are stored in the insert list. (In short, there needs to be a place to put references for individual records because we might update/delete a single entry in a large duplicate set, and the insert list has to exist anyway, so we used it.) However, if we find a match in the insert list, but it's not visible to the current transaction for some reason, we need to know if there's an on-page record with the same record number with a previous version of the data we can use instead. We were using an illegal cursor slot value for this purpose, but that messes up search-near, which needs a valid slot should the entry on the insert list not be visible. Add a new flag to the btree cursor, WT_CBT_VAR_ONPAGE_MATCH, that's set if we find a matching on-page variable length column-store record. Clarify the column-search routines, specifically set the cursor's slot and record number for each code path.
| | | * | | WT-2490: search_near() returns wrong key for column-storeKeith Bostic2016-03-161-48/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance the variable-length column-store search/search-near tests to catch WT-2490.
| | | * | | WT-2490: search_near() returns wrong key for column-storeKeith Bostic2016-03-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lint: Last value assigned to variable 'firstcg_cur' not used in one code path.
| | | * | | Merge branch 'develop' into wt-2490Keith Bostic2016-03-1611-100/+164
| | | |\ \ \
| | | * | | | WT-2490: search_near() returns wrong key for column-storeKeith Bostic2016-03-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update string list.
| | * | | | | Merge pull request #2599 from wiredtiger/wt-2495-malloc-tcmallocAlex Gorrod2016-03-171-0/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | WT-2495 Make malloc calls use tcmalloc when configured.
| | | * | | | | WT-2495 Make malloc calls use tcmalloc when configured.Alex Gorrod2016-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we can free memoy with tcmalloc that was allocated with the system allocator.
| | * | | | | | Merge pull request #2596 from wiredtiger/wt-2414-join-extractor-ltMichael Cahill2016-03-172-27/+42
| | |\ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | WT-2414 Avoid main table reads and extractions for the first index
| | | * | | | | WT-2414 When iterating cursor joins, take advantage of the fact that we haveDon Anderson2016-03-162-27/+42
| | | | |_|/ / | | | |/| | | | | | | | | | | | | | | | | the index key for the first index available. We don't need to extract it again.
| | * | | | | Merge pull request #2587 from wiredtiger/wt-2457-lsm-exclusiveMichael Cahill2016-03-175-32/+87
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | | WT-2457 Wait for LSM work units to drain when getting exclusive access.
| | | * | | | WT-2457 Review changes.Michael Cahill2016-03-174-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename LSM field "excl_session" to match WT_DATA_HANDLE, make new test URI match test name.
| | | * | | | WT-2457 Add a test case for LSM not returning EBUSY surprisingly.Alex Gorrod2016-03-161-0/+60
| | | | | | |
| | | * | | | WT-2457 Wait for LSM work units to drain when getting exclusive access.Alex Gorrod2016-03-153-31/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we can return EBUSY unexpectedly. Fixed several outstanding bugs along the way.
| | * | | | | Merge pull request #2591 from wiredtiger/wt-2492Keith Bostic2016-03-165-6/+7
| | |\ \ \ \ \ | | | |_|_|_|/ | | |/| | | | WT-2492 Change printf format specifier to be Windows compatible.
| | | * | | | WT-2492 Add WT_PTRDIFFT_FMT for print statements.Alex Gorrod2016-03-174-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since there isn't a specifier that works on all platforms.
| | | * | | | WT-2492 Change printf format specifier to be Windows compatible.Keith Bostic2016-03-162-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows doesn't like %td, use the maximum unsigned integer format instead, PRIuMAX. Get rid of the temporary variable I introduced in cc0d34b, there's no need for one.
| | | * | | | WT-2492 Change printf format specifier to be Windows compatible.Alex Gorrod2016-03-161-4/+5
| | | | |/ / | | | |/| | | | | | | | | | | | | | Windows doesn't like "td" for ptrdiff_t
| | * | | | Merge pull request #2595 from wiredtiger/wt-2481Alex Gorrod2016-03-171-16/+16
| | |\ \ \ \ | | | | | | | | | | | | | | WT-2481 Set memory_page_max after we read chunk_max.
| | | * | | | WT-2481 Set memory_page_max after we read chunk_max.Susan LoVerso2016-03-161-16/+16
| | | | | | |
| | * | | | | Merge pull request #2590 from wiredtiger/wt-2485Michael Cahill2016-03-172-13/+17
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | WT-2485 Adjust lsm_tree->merge_min when we read the metadata.