Bug 1720290

Summary: ctime changes: tar still complains file changed as we read it if uss is enabled
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: ctimeAssignee: Kotresh HR <khiremat>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: mainlineCC: amukherj, bugs, jthottan, khiremat, nchilaka, pasik, rabhat, rhinduja, rhs-bugs, rkavunga, sankarshan, storage-qa-internal, vdas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1709301
: 1721783 (view as bug list) Environment:
Last Closed: 2019-06-17 10:29:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1709301    
Bug Blocks: 1721783    

Description Kotresh HR 2019-06-13 15:06:10 UTC
Description of problem:
==================
With uss enabled on gluster volume, when compressing a directory of files into a tar ball, I still see tar complaining "file changed as we read it"


How reproducible:
==================
always on my testbed

Steps to Reproduce:
===============
1.created a 4x3 volume 
2. enabled uss and quotas
3. mounted volume on 4 clients and started to untar kernel image and again tarball the image.

When tarballing the files back, i see the above issue consistently


Volume Name: nfnas
Type: Distributed-Replicate
Volume ID: 61b5239a-e275-4a1a-b02e-65625c4dc3fd
Status: Started
Snapshot Count: 0
Number of Bricks: 4 x 3 = 12
Transport-type: tcp
Bricks:
Brick1: rhs-gp-srv7.lab.eng.blr.redhat.com:/gluster/brick1/nfnas
Brick2: rhs-gp-srv8.lab.eng.blr.redhat.com:/gluster/brick1/nfnas
Brick3: rhs-gp-srv9.lab.eng.blr.redhat.com:/gluster/brick1/nfnas
Brick4: rhs-gp-srv8.lab.eng.blr.redhat.com:/gluster/brick2/nfnas
Brick5: rhs-gp-srv9.lab.eng.blr.redhat.com:/gluster/brick2/nfnas
Brick6: rhs-gp-srv10.lab.eng.blr.redhat.com:/gluster/brick1/nfnas
Brick7: rhs-gp-srv9.lab.eng.blr.redhat.com:/gluster/brick3/nfnas
Brick8: rhs-gp-srv10.lab.eng.blr.redhat.com:/gluster/brick3/nfnas
Brick9: rhs-gp-srv7.lab.eng.blr.redhat.com:/gluster/brick3/nfnas
Brick10: rhs-gp-srv10.lab.eng.blr.redhat.com:/gluster/brick4/nfnas
Brick11: rhs-gp-srv7.lab.eng.blr.redhat.com:/gluster/brick4/nfnas
Brick12: rhs-gp-srv8.lab.eng.blr.redhat.com:/gluster/brick4/nfnas
Options Reconfigured:
diagnostics.client-log-level: DEBUG
performance.stat-prefetch: on
features.uss: disable
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
transport.address-family: inet
nfs.disable: on
performance.client-io-threads: off

Comment 1 Worker Ant 2019-06-13 17:21:21 UTC
REVIEW: https://review.gluster.org/22861 (uss: Fix tar issue with ctime and uss enabled) posted (#1) for review on master by Kotresh HR

Comment 2 Worker Ant 2019-06-17 10:29:50 UTC
REVIEW: https://review.gluster.org/22861 (uss: Fix tar issue with ctime and uss enabled) merged (#3) on master by Amar Tumballi