diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-03-06 16:51:36 +1100 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-03-06 16:51:36 +1100 |
commit | ecf5c625d958eef8a90cd4eb9437051405991cff (patch) | |
tree | cf8b8f6e9c61dad300930906bc407bc8c64d9e68 | |
parent | 03cb722691012dbb480c3238247d76cb6dcf7d9d (diff) | |
download | mongo-ecf5c625d958eef8a90cd4eb9437051405991cff.tar.gz |
Add a draft of the 2.5.1 release notes.
-rw-r--r-- | NEWS | 146 |
1 files changed, 146 insertions, 0 deletions
@@ -1,3 +1,149 @@ +WiredTiger release 2.5.1, 2015-03-07 +------------------------------------ + +The WiredTiger 2.5.1 release contains new features, minor API changes and many +bug fixes. + +New features and API changes: + +* Add a new option to wiredtiger_open which is log=(recover=true). The default + value is true, if false recovery won't be run on startup. An error will be + returned if recovery is needed but disabled. This option is mainly to + support the WiredTiger command line utility. + Refs: #1651 + +* Replace the wiredtiger_strerror_r API with a WT_SESSION.strerror method. + Refs: #1516 + +* Change how statistics work when there are checkpoints for an object. We + used to aggregate statistics for all open checkpoints and the current + handle. We now only return statistics for the object being queried. See + upgrading documentation for further information. + +* Add a mode to LSM that allows us to limit the size of a tree by dropping + old chunks. Enabled via lsm=(chunk_count_limit=0), default to 0 which + disables the functionality. Note that enabling this feature discards old + data automatically. + Refs: #1652 + +* Update the WiredTiger printlog command line utility to generate JSON that + can be parsed by third party tools. + Refs #1438 + +* Change how we track memory allocation overhead. We used to apply a fixed + size for each allocation (which was difficult to track). The overhead + can be specified via a new configuration option to wiredtiger_open which is + cache_overhead=8) the value is a percentage. The default is 8. + Refs: #1564 #1565 + +* Change the WT_CURSOR::equals method to return one when the cursors are equal, + zero when not. + +* Major enhancements to the wtstats.py tool that translates WiredTiger + statistics into an HTML graph. The tool now generates interactive graphs + and no longer requires third party Python libraries to be installed. + +* Add a new WT_CURSOR::reconfigure method. See API documentation for more + information. + Refs: #1381 + +Bug fixes for bugs that could cause data inconsistency: + +* Fix a bug in recovery where we could lose track of file identifiers and + apply updates to the wrong file. + Refs SERVER-17142 SERVER-17131 + +* Fix several bugs in data consistency that could cause corruption when + restarting after a hard crash, including: + - A bug in table create that could cause recovery to fail. Refs: SERVER-17204 + - Someone should probably identify more of these and move them from the following section. + +Other significant changes: + +* Many enhancements to maintaining the WiredTiger cache, including: + - Avoiding stalls due to evicting large pages + - Better algorithms for getting application threads to help with cache + management without interfering with operation latencies. + - Better algorithms for maintaining the cache when there are a few very hot + pages (e.g: append workloads). SERVER-17344 + - Freeing obsolete references more aggressively, which saves space and + reduces traversal overhead when there are lots of updates or deletes. + Refs: SERVER-17195, #1647 + - Fix a bug that could cause a data loss if we split a large page into + multiple smaller pages and attempted to evict the page at the same time. + Refs: #1583 #1563 SERVER-16868 + +* Significant improvements to the truncate implementation - especially for +workloads that periodically truncate from the start of the file. + refs: SERVER-17141 + +* Fix a bug in eviction where reconfiguring the number of eviction threads + could result in a segfault. + refs: SERVER-17293 + +* Several bug fixes and performance enhancements to the logging subsystem + including: + - Avoid yielding excessively to avoid CPU overhead when there are many + active sessions. Refs: #1610 + - The log close thread needs to wait for outstanding writes. #1571 + - Create a new utility thread to close and fsync log files. #1560 + - Ensure that log files are closed in sequence. #1555 + - Ensure that log file create appears atomic. #1482 + - Fix a race between connection close and switching log files that could + lead to a new log file being in an undefined state. #1480 + +* Added support for advanced options to the WiredTiger verify command line + tool. + +* Fix a bug in our conflict detection algorithm, where we were failing to + detect some write-write conflicts in no-overwrite cursors. + Refs: SERVER-16351 + +* Several bug fixes and enhancements when writing pages to disk + (reconciliation), including: + - Stop double count the on-disk header when choosing split points. Refs #1655 + - Fill the first and second pages as much as possible when splitting. + Refs: #1282 + - Improve the algorithm for fitting large items onto pages when splitting. + Refs: #1630 #1631 + - Fix a bug when using raw compression where we could overflow allocated + memory. Refs: SERVER-16664 + +* Fix several cases where WT_SESSION::verify and WT_SESSION::salvage could + return EBUSY unnecessarily. + Refs #1404 SERVER-16457 + +* Fix a bug where racing between discarding and updating a tree returned an + error to the application. + Refs: #1618 SERVER-17048 + +* Fix a bug where opening a statistics cursor in parallel with a checkpoint + could lead to a deadlock. + Refs: #1575 SERVER-16738 + +* Enhance how we share the memory when using shared cache to use cache read + pressure rather than write pressure. Since checkpoints skew write pressure + as a metric. + Refs: #1569 + +* Bug fixes, documentation, feature enhancements and performance improvements + for the Windows build. + +* Fix a bug where a deadlock could occur if a checkpoint starts in parallel to + compact operations. #1589 SERVER-16967 + +* Fix a bug in how we parse huffman configuration settings on + WT_SESSION::create. + Refs: #1417 #1536 + +* Fix a bug where the custom extractor terminate callback was being made twice. + Refs: #1503 + +* Add a new mode to the eviction server where it writes out some pages even + though the eviction triggers have not yet been reached. + +* Fix several issues reported by COVERITY static analysis tool. + WiredTiger release 2.5.0, 2014-12-24 ------------------------------------ |