-
Committer:
Alexey Kopytov
-
Date:
2013-01-07 06:19:24 UTC
-
mfrom:
(391.64.4 2.0)
-
Revision ID:
akopytov@gmail.com-20130107061924-4rdxqyokdfagn1gw
2.1 version of the fix for
Bug #1095249: Built-in compression does inefficient I/O
(a more clean implementation, since 2.1 provides native datasink chaining)
The problem was the xtrabackup --compress did unbuffered writes to the
destination file or stream in very small chunks.
Fixed by:
- backporting datasink_buffer from the compact backups branch
- inserting it between datasink_compress and the destination datasink
- using a 1M buffer for output similar to the uncompressed backup