[Bugs] [Bug 1290719] New: Geo-replication doesn't deal properly with sparse files

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 11 08:45:25 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1290719

            Bug ID: 1290719
           Summary: Geo-replication doesn't deal properly with sparse
                    files
           Product: GlusterFS
           Version: 3.7.6
         Component: geo-replication
          Keywords: Triaged
          Severity: medium
          Priority: medium
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
                CC: alex at markelov.org, avishwan at redhat.com,
                    bugs at gluster.org, gluster-bugs at redhat.com,
                    mselvaga at redhat.com, vbellur at redhat.com
        Depends On: 1276839



+++ This bug was initially created as a clone of Bug #1276839 +++

Description of problem:
Without '--sparse' option tar will not properly archive sparse file
and geo-replication will result in non-sparse file on the remote end.


Version-Release number of selected component (if applicable):


How reproducible:
Every time you have sparse files to geo-replicate the remote end will have
files full size and not sparse anymore.

Steps to Reproduce:
1. Copy a sparse file into a volume.
2. Wait for geo-replication to copy it to remote cluster.
3. Check the files on the remote end. It's no longer sparse.

Actual results:
Sparse files are no longer sparse after being geo-replicated.

Expected results:
Sparse files must remain sparse after being geo-replicated.

Additional info:
Here is more on how I arrived at this
http://markelov.org/wiki/index.php/GlusterFS_3.6.1_on_CentOS_6.5:_geo-replication_and_sparse_files_problem

--- Additional comment from Vijay Bellur on 2015-10-31 06:59:04 EDT ---

REVIEW: http://review.gluster.org/12476 (Add support for sparse files to tarssh
method) posted (#1) for review on master by Alex Markelov (alex at markelov.org)

--- Additional comment from Vijay Bellur on 2015-11-01 09:11:42 EST ---

REVIEW: http://review.gluster.org/12476 (Add support for sparse files to tarssh
method) posted (#2) for review on master by Venky Shankar (vshankar at redhat.com)

--- Additional comment from Vijay Bellur on 2015-11-01 09:50:40 EST ---

REVIEW: http://review.gluster.org/12476 (Add support for sparse files to tarssh
method) posted (#3) for review on master by Vijay Bellur (vbellur at redhat.com)

--- Additional comment from Alex Markelov on 2015-11-21 05:19:47 EST ---

Guys, any progress with this? What about the patch that I submitted?

--- Additional comment from Vijay Bellur on 2015-12-02 01:42:39 EST ---

REVIEW: http://review.gluster.org/12476 (Add support for sparse files to tarssh
method) posted (#4) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Vijay Bellur on 2015-12-02 10:47:33 EST ---

REVIEW: http://review.gluster.org/12476 (Add support for sparse files to tarssh
method) posted (#5) for review on master by Vijay Bellur (vbellur at redhat.com)

--- Additional comment from Vijay Bellur on 2015-12-10 05:01:12 EST ---

REVIEW: http://review.gluster.org/12476 (Add support for sparse files to tarssh
method) posted (#6) for review on master by Aravinda VK (avishwan at redhat.com)

--- Additional comment from Vijay Bellur on 2015-12-11 03:27:58 EST ---

COMMIT: http://review.gluster.org/12476 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit eff14863fb6a6da0ccf8a40343160b09f29ea493
Author: Alex Markelov <alex at markelov.org>
Date:   Sat Oct 31 08:30:08 2015 +0000

    Add support for sparse files to tarssh method

    Without '--sparse' option tar will not properly archive sparse file
    and geo-replication will result in non-sparse file on the remote end.

    Here is more on how I arrived at this
   
http://markelov.org/wiki/index.php/GlusterFS_3.6.1_on_CentOS_6.5:_geo-replication_and_sparse_files_problem

    Change-Id: I8d671964a1b48bbb916e4a064571221bf3631494
    BUG: 1276839
    Signed-off-by: Alex Markelov <alex at markelov.org>
    Reviewed-on: http://review.gluster.org/12476
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Aravinda VK <avishwan at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1276839
[Bug 1276839] Geo-replication doesn't deal properly with sparse files
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list