xbstream sometimes fails while extracting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Alexey Kopytov | ||
2.0 |
Fix Released
|
High
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
High
|
Alexey Kopytov |
Bug Description
I collected a large streaming backup over SSH which was written to a file (named 20120406_
When extracting the file, I found xbstream intermittently fails to read from the file. The error is:
xb_stream_
The backup command was:
innobackupex --user=$USER --password=$PASS --compress --compress-
STDOUT was piped over SSH and written to the .xbs file.
The extraction command was:
xbstream -x -v < ../20120406_
This appears to be a bug in xbstream, not corrupt data. The offset was different every time the message appeared, and eventually the file extracted without any error, creating all the expected files.
Platform is Debian Squeeze x64 using the xtrabackup dotdebs from percona.com
Related branches
- Stewart Smith (community): Approve
-
Diff: 63 lines (+22/-4)1 file modifiedsrc/xbstream_read.c (+22/-4)
I've just had smartd report Ofline uncorrectable sectors on one of the drives on this server, so this could be a HDD issue not xbstream issue.