Tar4ibd silently fails to send entire backup

Bug #690822 reported by Lee Faris on 2010-12-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Stewart Smith

Bug Description

tar4ibd will silently fail to send the entire contents of a large file if tar4ibd was compiled with a size_t of unsigned int. The function will succeed because 'enough' data was sent.

Since th_get_size() was redefined to return a long long in the tar4ibd patch the 'size' variable also needs to be a long long. Patch is included.

Related branches

Thank you.
The patch is needed for 32bit system to treat large file.

Changed in percona-xtrabackup:
status: New → Confirmed
assignee: nobody → Alexey Kopytov (akopytov)
importance: Undecided → Medium
milestone: none → 1.6
Changed in percona-xtrabackup:
status: Confirmed → New
assignee: Alexey Kopytov (akopytov) → Valentine Gostev (core-longbow)
Changed in percona-xtrabackup:
milestone: 1.6 → 1.7
tags: added: tar4ibd
Valentine Gostev (longbow) wrote :


can you please specify the version of OS where you met this bug, and what command was used.

Lee Faris (leelynnef) wrote :

I used a 32 bit RHEL5 OS. The command was make which compiled tar with gcc 4.1.2. You should only see this bug on 32 bit systems.

Stewart Smith (stewart) wrote :

Confirmed from examining source.

We should increase testing on large datasets on 32bit though (Valentine please create blueprint)

This is actually a bug in upstream libtar.

Changed in percona-xtrabackup:
status: New → Confirmed
importance: Medium → Critical
assignee: Valentine Gostev (core-longbow) → Stewart Smith (stewart)
Stewart Smith (stewart) wrote :

( by bug in upstream libtar I mean that it's missing a bunch of our libtar patch that would make this problem a bit more obvious)

Changed in percona-xtrabackup:
status: Confirmed → Fix Committed
Stewart Smith (stewart) on 2011-06-12
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-211

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers