summaryrefslogtreecommitdiff
path: root/src/include/extern.h
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch 'develop' into config-check-with-functionMichael Cahill2015-03-201-0/+1
| |\ \ | | | | | | | | | | | | | | | | Conflicts: src/config/config_def.c
| * | | Add support for calling functions to validate configuration values,Keith Bostic2015-03-121-0/+1
| | |/ | |/| | | | | | | reference #1536, #1739.
* | | Create the base configuration file in a temporary file and rename itKeith Bostic2015-03-191-0/+3
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into place so a crash can't result in a corrupted base configuration file. Always create a base configuration file, and always include the version number (who knows, the initial version might be useful some day). By always creating a base configuration file, we can detect a crash between creating the "WiredTiger" file and creating the base configuration file, and the create the base configuration file when we're restarted. That's a (hopefully minor) API change: an application that initially created the database without config_base set, or simply without any wiredtiger_open configuration, so that no base configuration file was written, which then ran this version of the code with config_base set or with a wiredtiger_open configuration, would suddenly create a base configuration file where there was none before. I find that unlikely enough I'm not going to worry about it. Remove the check for the base-configuration file already existing when the database is created. A previous revision in this file (#1775) syncs the "WiredTiger" file to disk before we create the base configuration file, so the test be safe, but we're no longer relying on ordering between the creation of the "WiredTiger" file and the base configuration file, so the test no longer makes sense. Add simple helper functions to open/close FILE handles so there's less memory allocation and errno handling inside more complicated routines. Reference #1775, #1776, SERVER-17571.
* | Add ability to configure sweep server timings via API.Alex Gorrod2015-03-121-0/+1
|/ | | | Still needs some test code.
* Merge pull request #1715 from wiredtiger/first-fit-checkpointsMichael Cahill2015-03-101-0/+1
|\ | | | | Change checkpoints to do first-fit allocation
| * Change checkpoints to do first-fit allocation when we start writing theKeith Bostic2015-03-031-0/+1
| | | | | | | | | | actual checkpoint blocks, that way if we delete significant space, the checkpoint blocks won't prevent file truncation.
* | SERVER-17471: Use uint64_t instead of long since long is compiler specificMark Benvenuto2015-03-091-2/+2
| |
* | Merge branch 'develop' into log-wrlsn-threadMichael Cahill2015-03-061-3/+4
|\ \ | |/
| * Merge pull request #1713 from wiredtiger/shared-cache-reconfigure-bugKeith Bostic2015-03-031-1/+1
| |\ | | | | | | Fix a bug in the reconfigure API related to shared cache quotas.
| | * __wt_cache_config_local is private to conn_cache.c, rename it to beKeith Bostic2015-03-031-1/+0
| | | | | | | | | | | | __cache_config_local, make it static.
| | * Handle switching to a shared cache in reconfigure.Alex Gorrod2015-03-031-1/+1
| | |
| | * Fix a bug in the reconfigure API related to shared cache quotas.Alex Gorrod2015-03-031-1/+2
| | | | | | | | | | | | | | | | | | While fixing the bug simplify the code flow for reconfigure and caches/shared caches. refs #1712
| * | Split __wt_row_ikey into a (rare) raw alloc flavor and the (much more ↵Michael Cahill2015-03-031-2/+3
| | | | | | | | | | | | common) WT_REF flavor. Don't free instantiated keys in parent pages.
| * | Add some paranoia around setting row-store internal keys.Michael Cahill2015-02-261-1/+1
| |/ | | | | | | refs #1582
* | Merge branch 'develop' into log-wrlsn-threadSusan LoVerso2015-03-011-1/+2
|\ \ | |/
| * Fix a bug in checkpoint, where it could get an EBUSY return.Alex Gorrod2015-02-261-0/+1
| | | | | | | | | | | | | | | | The case that could return EBUSY was when checkpointing with a specific target, while that target was open exclusively or for a bulk load. Refs #1404 #1589
| * Compaction wasn't checking WT_BTREE_NO_EVICTION before executing aKeith Bostic2015-02-231-1/+1
| | | | | | | | | | | | | | | | __wt_evict_file_exclusive_on/__wt_evict_file_exclusive_off pair, we could clear WT_BTREE_NO_EVICTION on a file (not that I'm sure that combination makes any sense, but regardless). Push the test of the WT_BTREE_NO_EVICTION flag down into the __wt_evict_file_exclusive_on function to make sure it doesn't happen again.
* | Add log worker thread to advance write_lsn. #1683Susan LoVerso2015-02-191-1/+1
|/
* Merge pull request #1681 from wiredtiger/mongo-evictionMichael Cahill2015-02-191-1/+1
|\ | | | | Improvements to eviction for MongoDB workloads
| * review: rename a variable for clarityMichael Cahill2015-02-191-1/+1
| |
| * Make the eviction walk incremental: don't spend too long in any one file, ↵Michael Cahill2015-02-171-1/+1
| | | | | | | | fix tracking of whether we are making progress.
* | I broke the Windows error handling code with the WT_SESSION.strerrorKeith Bostic2015-02-181-2/+1
| | | | | | | | rework, take another run at it.
* | Merge pull request #1629 from wiredtiger/session-strerrorMichael Cahill2015-02-181-1/+3
|\ \ | |/ |/| WT_SESSION.strerror
| * Replace wiredtiger_strerror_r with WT_SESSION.strerror, reference #1516.Keith Bostic2015-02-021-1/+3
| |
* | Add recover config setting and use it in the wt command. #1651Susan LoVerso2015-02-121-0/+1
| |
* | Add a mode to LSM where we can limit the size of data in the tree.Alex Gorrod2015-02-091-0/+1
|/ | | | | | | | | | A feature request to allow for a high insert throughput into a table with a size limitation. Adds a new configuration option to WT_SESSION::create which is lsm=(chunk_count_limit=0), default to 0 which is disabled. Refs #1652
* Merge pull request #1561 from markbenvenuto/msvc_alignKeith Bostic2015-02-021-9/+9
|\ | | | | Struct alignment and packing for MSVC
| * Struct alignment and packing for MSVCMark Benvenuto2015-01-151-9/+9
| |
* | Rename __wt_rec_page_clean_update to __wt_evict_page_clean_update,Keith Bostic2015-02-021-1/+1
| | | | | | | | | | matching the corresponding dirty-update function and getting rid of a long-ago vestige of reconciliation's naming.
* | Merge pull request #1596 from wiredtiger/evict-statisticsMichael Cahill2015-01-271-1/+2
|\ \ | | | | | | eviction statistics cleanup.
| * | Reorg code so that fast paths stay inlined, shift the slow part of full ↵Michael Cahill2015-01-271-1/+1
| | | | | | | | | | | | | | | | | | cache handling into a separate function. refs #1596
| * | Two "real" changes:Keith Bostic2015-01-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't count pages evicted by a worker thread as an "application thread" eviction; add a new statistic to distinguish between the server itself evicting pages and the eviction worker threads evicting. Don't increment the eviction counters unless we find a page to evict, __evict_lru_pages() gets called a huge number of times in any workload where eviction is happening. Discussion: The "is_app" flag is being used for a few purposes: - if we should perform the "oldest transaction in the system" test, - if the evictor thread is the eviction server, - if the "eviction by an application thread" counter should be incremented, - if the session's split generation can be non-zero after eviction. Move the "oldest transaction in the system" test outside of the eviction code, and do that test before trying to evict a page (this required moving __wt_txn_am_oldest() from include/txn.i (an inlined function) into txn/txn.c (a real function). Replace the "is_app" flag with an "is_server" flag to distinguish between the eviction server and eviction work threads (we can distinguish between application threads and worker/server threads using the WT_SESSION_INTERNAL flag in the WT_SESSION handle). Reference SERVER-16997, SERVER-17020.
* | | Revert "For now, just rename the WiredTiger function __wt_cursor_equals...",Don Anderson2015-01-221-1/+1
|/ / | | | | | | | | | | since we've resolved the underlying problem. This reverts commit 010059e721d1c6bd4d81214ab80402866de41345.
* | For now, just rename the WiredTiger function __wt_cursor_equals to beKeith Bostic2015-01-171-1/+1
| | | | | | | | | | __wt_cursor_equal. We'll do a better fix to avoid the problem in the future, when we have a few minutes.
* | Merge branch 'develop' into cursor-equalMichael Cahill2015-01-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/cursor/cur_std.c src/cursor/cur_table.c src/include/extern.h
| * \ Merge branch 'develop' into cursor-reconfigureMichael Cahill2015-01-141-3/+6
| |\ \ | | |/
| * | Merge branch 'develop' into cursor-reconfigureKeith Bostic2014-12-221-1/+3
| |\ \
| * \ \ Merge branch 'develop' into cursor-reconfigureKeith Bostic2014-12-151-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/cursor/cur_metadata.c
| * | | | Add support for a WT_CURSOR.reconfigure method, reference #1381.Keith Bostic2014-12-111-1/+1
| | | | |
* | | | | Have WT_CURSOR::equals return 1 when cursors are equal, 0 when not.Michael Cahill2015-01-171-2/+2
| | | | |
* | | | | Rename WT_CURSOR compare_equal to be equals.Alex Gorrod2015-01-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While here, add a generic cursor equals stub in curstd, rather than redirecting via cursor function pointer lists. Implement the Java API wrapper.
* | | | | Add support for the WT_CURSOR.compare_equal method.Keith Bostic2015-01-101-0/+1
| |_|_|/ |/| | |
* | | | Merge pull request #1516 from wiredtiger/windows-errorsMichael Cahill2015-01-071-0/+2
|\ \ \ \ | | | | | | | | | | Windows error string support.
| * | | | os_errno.c: In function '__wt_strerror':Keith Bostic2015-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | os_errno.c:38:3: error: return discards 'const' qualifier from pointer target type [-Werror]
| * | | | Keep wiredtiger_strerror() as thread-safe as possible by splitting theKeith Bostic2015-01-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | possible error returns into "constant string" and other, and checking for constant strings before anything else.
| * | | | Add wiredtiger_strerror_r, a thread-safe version of wiredtiger_strerror,Keith Bostic2014-12-241-0/+1
| | |_|/ | |/| | | | | | | | | | | | | | which allows us to support Windows' errors where we have to allocate a buffer to get the error string.
* | | | Only preallocate the entire log file if we're not on the critical path.Susan LoVerso2014-12-301-1/+1
| | | |
* | | | Fix recovery if logging is turned off, changes are made and checkpointed, ↵Michael Cahill2014-12-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | then the database is reopened with logging turned on. refs SERVER-16692
* | | | Merge pull request #1514 from markbenvenuto/printlog_jsonMichael Cahill2014-12-241-1/+1
|\ \ \ \ | |/ / / |/| | | Fix json formatting of printlog to be valid json
| * | | Fix json formatting of printlog to be valid jsonMark Benvenuto2014-12-231-1/+1
| | | |