diff options
author | Keith Bostic <keith@wiredtiger.com> | 2012-10-19 09:14:19 +0000 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2012-10-19 09:14:19 +0000 |
commit | d63854f64df057a259acb35722c8a234b77c6d02 (patch) | |
tree | f6dcffb4391643e10771944061388499be830a05 | |
parent | 5b1103764582604a7113ac8c237a51e9dda6a017 (diff) | |
download | mongo-d63854f64df057a259acb35722c8a234b77c6d02.tar.gz |
Add a note, applications are responsible for figuring out their upgrade
path if they might swap out compression engines. Close #370.
-rw-r--r-- | src/docs/compression.dox | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/docs/compression.dox b/src/docs/compression.dox index e71fedcbc6c..862d4561d01 100644 --- a/src/docs/compression.dox +++ b/src/docs/compression.dox @@ -3,7 +3,7 @@ This section explains how to configure WiredTiger's builtin support for the bzip2 and snappy compression engines. -@section bzip2 Using bzip2 compression +@section compression_bzip2 Using bzip2 compression To use the builtin support for <a href="http://www.bzip.org/">bzip2</a> compression, first check that bzip2 is installed in include and library @@ -31,7 +31,7 @@ python ../test/suite/run.py compress Review the test output to verify the bzip2 part of the test passes and was not skipped. -@section snappy Using snappy compression +@section compression_snappy Using snappy compression To use the builtin support for Google's <a href="http://code.google.com/p/snappy/">snappy</a> compression, first @@ -60,7 +60,16 @@ python ../test/suite/run.py compress Review the test output to verify the snappy part of the test passes and was not skipped. -@section custom Custom compression engines +@section compression_upgrading Upgrading compression engines + +WiredTiger does not store information with file blocks to identify the +compression engine used to compressed the block. Applications wanting +to upgrade to some future compression engine (without requiring a file +dump and re-load), should ensure each compressed block includes enough +information to identify the compression engine used, so its compression +code can correctly decompress old and new blocks. + +@section compression_custom Custom compression engines WiredTiger may be extended by adding custom compression engines; see @ref WT_COMPRESSOR for more information. |