summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Style script.Keith Bostic2014-10-092-2/+2
|
* Initial Windows PortMark Benvenuto2014-10-082-1/+15
|
* Limit the maximum compression ratio our raw zlib implementation will allow. ↵Michael Cahill2014-09-101-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 Cahill2014-08-151-1/+1
| | | | data sources, or with application-managed metadata.
* Fix static linking of libraries with builtin extensions.Michael Cahill2014-07-152-4/+8
|
* Update the API exposed by extensions that can be builtin.Alex Gorrod2014-06-202-0/+24
| | | | | Otherwise multiple builtin extensions will conflict on the wiredtiger_extension_init function.
* More --with-builtins implementation.Alex Gorrod2014-06-202-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 Cahill2014-06-202-10/+14
| | | | "./Makefile" as a generated file.
* Link builtin extensions directly into libwiredtiger.la.Michael Cahill2014-06-202-9/+13
|
* More implementation of --with-builtins=Alex Gorrod2014-06-202-1/+27
| | | | Not yet linking in the library properly.
* Minor code shuffle to make the flow a little more obvious.Keith Bostic2014-06-041-2/+2
|
* We document collators must return -1, 0, 1, rewrite the reverse collatorKeith Bostic2014-06-041-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 Cahill2014-05-131-1/+1
| | | | | | 24 bytes instead of 12. refs #1007
* Fix a comment.Keith Bostic2014-05-121-1/+1
|
* Don't loop on calls to deflate until Z_OK isn't returned, we're not addingKeith Bostic2014-05-121-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 forKeith Bostic2014-05-121-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 Bostic2014-05-121-1/+4
|
* If zlib compression fails because there's not enough room in the destinationKeith Bostic2014-05-101-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.
* whitespaceKeith Bostic2014-05-101-8/+4
|
* Run the "standard" extensions through the style checks, mostly add aKeith Bostic2014-05-106-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 theKeith Bostic2014-02-261-5/+7
| | | | config_parser.close method errors.
* Add wiredtiger_config_parser_open and wiredtiger_version into extension API.Alex Gorrod2014-02-261-7/+7
| | | | | This is necessary so that statically linked applications can always find the symbols.
* Fix compiler warnings re: ignored return values.Alex Gorrod2014-02-261-3/+5
|
* Update the configuration string parsing in Helium data source.Alex Gorrod2014-02-251-25/+36
|
* Add a "noraw" flavor of zlib compression.Michael Cahill2014-02-031-41/+45
|
* Only retry compress_raw if it returns EAGAIN. Otherwise, if no rows were ↵Michael Cahill2014-02-031-1/+1
| | | | compressed, assume that compression failed and fall back to standard compression.
* Merge branch 'develop' into zlib-fixesKeith Bostic2014-02-021-44/+73
|\
| * Change the Helium cleaner algorithm to use the underlying he_stats.sizeKeith Bostic2014-02-011-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 migrateKeith Bostic2014-02-011-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 Bostic2014-02-011-5/+13
| |
| * Upgrade to Helium 2.2Keith Bostic2014-02-011-4/+4
| |
| * Update cache cleaner information for cursor update and remove, notKeith Bostic2014-02-011-0/+5
| | | | | | | | just insert.
* | Remove the automake shared library magic around loading the bzip2 compressorKeith Bostic2014-01-311-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 Bostic2014-01-311-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 Cahill2014-01-311-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.
* whitespaceKeith Bostic2014-01-241-4/+2
|
* Add compression support for Helium devices (the Helium HE_I_COMPRESSKeith Bostic2014-01-241-8/+38
| | | | flag).
* Upgrade to Helium 2.1Keith Bostic2014-01-241-4/+4
|
* Fix a "may be uninitialized" warning in zlib.Michael Cahill2014-01-241-4/+4
|
* Remove some debug code from zlib.Michael Cahill2014-01-231-8/+2
|
* Fix some nits in the zlib compress implementation.Alex Gorrod2014-01-231-11/+6
|
* Improve comments in the zlib extensionMichael Cahill2014-01-231-2/+10
|
* Add support for zlib compressionMichael Cahill2014-01-232-0/+355
|
* Add basic support for Helium statistics/debugging; this should really getKeith Bostic2014-01-211-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 WiredTigerKeith Bostic2014-01-211-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 Bostic2014-01-201-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 HeliumKeith Bostic2014-01-203-0/+0
| | | | support for the forseeable future.
* Upgrade to Helium 2.0 (change object lengths from uint64_t types to size_t).Keith Bostic2014-01-201-21/+12
|
* Add placeholders for he_sys_trace_enabled, Helium debugging flags.Keith Bostic2014-01-181-0/+7
|
* lintKeith Bostic2014-01-181-39/+43
|