Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Style script. | Keith Bostic | 2014-10-09 | 2 | -2/+2 |
| | |||||
* | Initial Windows Port | Mark Benvenuto | 2014-10-08 | 2 | -1/+15 |
| | |||||
* | Limit the maximum compression ratio our raw zlib implementation will allow. ↵ | Michael Cahill | 2014-09-10 | 1 | -1/+8 |
| | | | | Once we have taken 20x the maximum page size, stop. This prevents pathological behavior in sythetic workloads where a page is forced out of cache, then compresses into a single page on disk, and we repeat for every update. | ||||
* | Add WT_COLLATOR::customize, allowing collators to be customized for specific ↵ | Michael Cahill | 2014-08-15 | 1 | -1/+1 |
| | | | | data sources, or with application-managed metadata. | ||||
* | Fix static linking of libraries with builtin extensions. | Michael Cahill | 2014-07-15 | 2 | -4/+8 |
| | |||||
* | Update the API exposed by extensions that can be builtin. | Alex Gorrod | 2014-06-20 | 2 | -0/+24 |
| | | | | | Otherwise multiple builtin extensions will conflict on the wiredtiger_extension_init function. | ||||
* | More --with-builtins implementation. | Alex Gorrod | 2014-06-20 | 2 | -2/+2 |
| | | | | | Backout change to how builtins list is parsed, I was seeing: ../configure: line 5439: printf %s\n: command not found | ||||
* | Fix zlib builtin build, simplify parsing the list of builtins, don't list ↵ | Michael Cahill | 2014-06-20 | 2 | -10/+14 |
| | | | | "./Makefile" as a generated file. | ||||
* | Link builtin extensions directly into libwiredtiger.la. | Michael Cahill | 2014-06-20 | 2 | -9/+13 |
| | |||||
* | More implementation of --with-builtins= | Alex Gorrod | 2014-06-20 | 2 | -1/+27 |
| | | | | Not yet linking in the library properly. | ||||
* | Minor code shuffle to make the flow a little more obvious. | Keith Bostic | 2014-06-04 | 1 | -2/+2 |
| | |||||
* | We document collators must return -1, 0, 1, rewrite the reverse collator | Keith Bostic | 2014-06-04 | 1 | -4/+14 |
| | | | | to translate byte differences into those values. | ||||
* | Reserve more memory for zlib to finish a raw buffer -- it turns out to need ↵ | Michael Cahill | 2014-05-13 | 1 | -1/+1 |
| | | | | | | 24 bytes instead of 12. refs #1007 | ||||
* | Fix a comment. | Keith Bostic | 2014-05-12 | 1 | -1/+1 |
| | |||||
* | Don't loop on calls to deflate until Z_OK isn't returned, we're not adding | Keith Bostic | 2014-05-12 | 1 | -3/+3 |
| | | | | | additional buffer memory so no progress can be made (in other words, a Z_OK return from deflate means compression wasn't successful). | ||||
* | Remove decrement of the destination length by one, when setting up for | Keith Bostic | 2014-05-12 | 1 | -1/+1 |
| | | | | | | compression: one version of this code reserved a byte to figure out whether there were multiple blocks to inflate, but that isn't necessary for zlib. | ||||
* | Don't ignore the return value from deflateEnd. | Keith Bostic | 2014-05-12 | 1 | -1/+4 |
| | |||||
* | If zlib compression fails because there's not enough room in the destination | Keith Bostic | 2014-05-10 | 1 | -7/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer, deflateEnd will return Z_BUF_ERROR: From the docs (http://www.zlib.net/manual.html): deflate() returns Z_OK if some progress has been made (more input processed or more output produced), Z_STREAM_END if all input has been consumed and all output has been produced (only when flush is set to Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example if next_in or next_out was NULL), Z_BUF_ERROR if no progress is possible (for example avail_in or avail_out was zero). Note that Z_BUF_ERROR is not fatal, and deflate() can be called again with more input and more output space to continue compressing. Also, I don't think there's any reason to loop around deflate calls when Z_FINISH is specified, I think deflate will return Z_OK the first time it's called, then return Z_BUF_ERROR the second time it's called, because no progress is possible. From the docs: If the parameter flush is set to Z_FINISH, pending input is processed, pending output is flushed and deflate returns with Z_STREAM_END if there was enough output space; if deflate returns with Z_OK, this function must be called again with Z_FINISH and more output space (updated avail_out) but no more input data, until it returns with Z_STREAM_END or an error. After deflate has returned Z_STREAM_END, the only possible operations on the stream are deflateReset or deflateEnd. Reference #1005. | ||||
* | whitespace | Keith Bostic | 2014-05-10 | 1 | -8/+4 |
| | |||||
* | Run the "standard" extensions through the style checks, mostly add a | Keith Bostic | 2014-05-10 | 6 | -175/+247 |
| | | | | | | | bunch of function header comments. Change the compression source files to all have roughly identical patterns. | ||||
* | Fix typo when closing config_parser handle, complain if the | Keith Bostic | 2014-02-26 | 1 | -5/+7 |
| | | | | config_parser.close method errors. | ||||
* | Add wiredtiger_config_parser_open and wiredtiger_version into extension API. | Alex Gorrod | 2014-02-26 | 1 | -7/+7 |
| | | | | | This is necessary so that statically linked applications can always find the symbols. | ||||
* | Fix compiler warnings re: ignored return values. | Alex Gorrod | 2014-02-26 | 1 | -3/+5 |
| | |||||
* | Update the configuration string parsing in Helium data source. | Alex Gorrod | 2014-02-25 | 1 | -25/+36 |
| | |||||
* | Add a "noraw" flavor of zlib compression. | Michael Cahill | 2014-02-03 | 1 | -41/+45 |
| | |||||
* | Only retry compress_raw if it returns EAGAIN. Otherwise, if no rows were ↵ | Michael Cahill | 2014-02-03 | 1 | -1/+1 |
| | | | | compressed, assume that compression failed and fall back to standard compression. | ||||
* | Merge branch 'develop' into zlib-fixes | Keith Bostic | 2014-02-02 | 1 | -44/+73 |
|\ | |||||
| * | Change the Helium cleaner algorithm to use the underlying he_stats.size | Keith Bostic | 2014-02-01 | 1 | -36/+42 |
| | | | | | | | | | | | | | | | | | | | | value (new in Helium 2.2), for the store instead of maintaining our own statistics (which implies updating a shared cache line). This is only lightly tested, it looks to me like we're triggering a deadlock inside of the Helium library. Don't update the cache-inuse flag if it's already set, avoid writing a shared cache line to no purpose. | ||||
| * | Don't bother with a final pass to clean out the cache if we didn't migrate | Keith Bostic | 2014-02-01 | 1 | -2/+12 |
| | | | | | | | | | | any changes from the cache to the primary, that pass would be holding locks and it's not likely to help things much. | ||||
| * | Add debugging code for column-store (record number keys). | Keith Bostic | 2014-02-01 | 1 | -5/+13 |
| | | |||||
| * | Upgrade to Helium 2.2 | Keith Bostic | 2014-02-01 | 1 | -4/+4 |
| | | |||||
| * | Update cache cleaner information for cursor update and remove, not | Keith Bostic | 2014-02-01 | 1 | -0/+5 |
| | | | | | | | | just insert. | ||||
* | | Remove the automake shared library magic around loading the bzip2 compressor | Keith Bostic | 2014-01-31 | 1 | -18/+29 |
| | | | | | | | | | | in raw-test mode, it's a lot simpler to load two compressors, the normal one and a raw-test version. | ||||
* | | Zlib compression does "raw" compression in all cases, rename the "raw" | Keith Bostic | 2014-01-31 | 1 | -4/+4 |
| | | | | | | | | | | | | | | configuration to bzip-raw. Leave bzip raw in place, it deliberately tries to hit some of the edge cases around raw compression, which can't hurt. | ||||
* | | Fix some zlib-specific issues: | Michael Cahill | 2014-01-31 | 1 | -25/+42 |
|/ | | | | | | * always try to compress at least one item (WiredTiger makes the first "row" artificially large); * loop on all calls since the zlib API allows calls to work incrementally * reserve more bytes to finish up the last block, and fall back to "normal" compression if the reserved space is insufficient. | ||||
* | whitespace | Keith Bostic | 2014-01-24 | 1 | -4/+2 |
| | |||||
* | Add compression support for Helium devices (the Helium HE_I_COMPRESS | Keith Bostic | 2014-01-24 | 1 | -8/+38 |
| | | | | flag). | ||||
* | Upgrade to Helium 2.1 | Keith Bostic | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | Fix a "may be uninitialized" warning in zlib. | Michael Cahill | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | Remove some debug code from zlib. | Michael Cahill | 2014-01-23 | 1 | -8/+2 |
| | |||||
* | Fix some nits in the zlib compress implementation. | Alex Gorrod | 2014-01-23 | 1 | -11/+6 |
| | |||||
* | Improve comments in the zlib extension | Michael Cahill | 2014-01-23 | 1 | -2/+10 |
| | |||||
* | Add support for zlib compression | Michael Cahill | 2014-01-23 | 2 | -0/+355 |
| | |||||
* | Add basic support for Helium statistics/debugging; this should really get | Keith Bostic | 2014-01-21 | 1 | -3/+27 |
| | | | | hooked into WiredTiger statistics, but that's a project for another day. | ||||
* | Clean up error handling, we have to translate Helium errors into WiredTiger | Keith Bostic | 2014-01-21 | 1 | -70/+78 |
| | | | | | | | errors before we return. Rework the dump routine, it had random garbage left over from old debugging runs. | ||||
* | Cleanup pass over test/format kvs/memrata -> helium name changes. | Keith Bostic | 2014-01-20 | 1 | -8/+3 |
| | | | | | | Change Helium code to return success for WT_SESSION.verify rather than not-supported, applications might reasonable mix-and-match source types, and verify shouldn't fail. | ||||
* | move ext/test/helium to ext/datasources/helium, we're shipping Helium | Keith Bostic | 2014-01-20 | 3 | -0/+0 |
| | | | | support for the forseeable future. | ||||
* | Upgrade to Helium 2.0 (change object lengths from uint64_t types to size_t). | Keith Bostic | 2014-01-20 | 1 | -21/+12 |
| | |||||
* | Add placeholders for he_sys_trace_enabled, Helium debugging flags. | Keith Bostic | 2014-01-18 | 1 | -0/+7 |
| | |||||
* | lint | Keith Bostic | 2014-01-18 | 1 | -39/+43 |
| |