Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Standard C type uint64_t for zlib | Mark Benvenuto | 2015-03-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1816 from wiredtiger/zlib-copy-streams | Michael Cahill | 2015-03-26 | 1 | -42/+70 |
|\ | | | | | Use deflateCopy to copy zlib streams | ||||
| * | Shuffle the logic and add a pointer to remove some deflateCopy/deflateEnd | Keith Bostic | 2015-03-25 | 1 | -51/+59 |
| | | | | | | | | | | | | calls. Minor lint, whitespace while in the area. | ||||
| * | Use deflateCopy to copy streams for rollback in case the compressed size is ↵ | Michael Cahill | 2015-03-25 | 1 | -5/+25 |
| | | | | | | | | | | | | too large. refs SERVER-17713 | ||||
* | | Switch to using "safe mode" LZ4 decompression. We rely on it to detect ↵ | Michael Cahill | 2015-03-25 | 1 | -6/+8 |
|/ | | | | | | errors, which can make fast mode sefault. refs #1800 | ||||
* | Add debugging code to compare the compressed buffer against the original | Keith Bostic | 2015-03-24 | 1 | -42/+63 |
| | | | | source. | ||||
* | Now lint is unhappy: | Keith Bostic | 2015-03-21 | 1 | -0/+1 |
| | | | | | snappy_compress.c 644: Variable 'msg' (line 59) may not have been initialized Try and make everybody happy. | ||||
* | snappy_compress.c:73:9: warning: will never be executed [-Wunreachable-code] | Keith Bostic | 2015-03-21 | 1 | -3/+0 |
| | | | | The snappy_status type only has 3 values, all of which are listed. | ||||
* | Fix a bug in lz4 decompression. | Alex Gorrod | 2015-03-19 | 1 | -1/+1 |
| | | | | | We switched to using the fast decompress method that returns the number of bytes read, rather than the size of the decompressed chunk. | ||||
* | Fix a bug in lz4 compression - we were never compressing buffers. | Alex Gorrod | 2015-03-19 | 1 | -1/+1 |
| | |||||
* | Use LZ4_decompress_fast instead of LZ4_decompress_safe, we don't need | Keith Bostic | 2015-03-18 | 1 | -2/+2 |
| | | | | to defend against malicious input. | ||||
* | Remove unnecessary "inline" #define. | Keith Bostic | 2015-03-18 | 1 | -3/+2 |
| | | | | | Add SNAPPY_OK return value to the error function -- never used, but keeps lint from complaining. | ||||
* | Don't write out the error value twice in a row. | Keith Bostic | 2015-03-18 | 1 | -4/+4 |
| | | | | Minor lint cleanup to match LZ4 APIs. | ||||
* | Fix build warning re: type conversion. | Alex Gorrod | 2015-03-18 | 1 | -2/+2 |
| | |||||
* | More fixes to lz4 source file. | Alex Gorrod | 2015-03-18 | 1 | -11/+14 |
| | |||||
* | Fix issues with unknown WT_UNUSED | daveh86 | 2015-03-18 | 1 | -2/+2 |
| | |||||
* | Update LZ4 source code to be more in-line with Snappy implementation. | Alex Gorrod | 2015-03-18 | 1 | -78/+83 |
| | | | | Update Windows build files to have LZ4 defines. | ||||
* | Fixup lint in new lz4 source code. | Alex Gorrod | 2015-03-18 | 1 | -68/+64 |
| | |||||
* | remove erroneous Makefile.in produced by build | Quentin Conner | 2015-03-13 | 1 | -717/+0 |
| | |||||
* | LZ4 external compressor | Quentin Conner | 2015-03-12 | 3 | -0/+973 |
| | |||||
* | Replace wiredtiger_strerror_r with WT_SESSION.strerror, reference #1516. | Keith Bostic | 2015-02-02 | 2 | -28/+42 |
| | |||||
* | Copyright notices: add MongoDB, update to 2015. | Keith Bostic | 2015-01-04 | 7 | -0/+7 |
| | |||||
* | Add the additional arguments for the custom collator support. | Keith Bostic | 2014-11-10 | 1 | -3/+5 |
| | |||||
* | Custom-extractor lint, whitespace, reference #1215. | Keith Bostic | 2014-11-04 | 1 | -3/+3 |
| | |||||
* | Rename WT_DEADLOCK to WT_ROLLBACK, reference #1204. | Keith Bostic | 2014-10-17 | 1 | -1/+1 |
| | |||||
* | add config validation for Windows config | Mark Benvenuto | 2014-10-13 | 2 | -8/+0 |
| | |||||
* | 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 |
| |