Bug 815041

Summary: marker should not index modifications of special clients
Product: Red Hat Gluster Storage Reporter: Scott Haines <shaines>
Component: geo-replicationAssignee: Csaba Henk <csaba>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: csaba, gluster-bugs, vkoppad
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 769494 Environment:
Last Closed: 2012-05-01 11:18:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 769494    
Bug Blocks: 811632    

Description Scott Haines 2012-04-22 07:21:08 UTC
+++ This bug was initially created as a clone of Bug #769494 +++

Description of problem:

Gluster clients using -1 as pid are considered internal to the gluster ecosystem and therefore marker translator should not update xtimes for the changes made by thnm.

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

Seen on master & release-3.2

How reproducible:

Solid.

Steps to Reproduce:
1. rm -rf /backing/dir
2. gluster volume create my-vol my-ip:/backing/dir && gluster volume start my-vol
3. gluster volume set my-vol indexing on
4. glusterfs --client-pid=-1 --volfile-id=my-vol -s localhost /mnt/gluster0/
5. touch /mnt/gluster0/x
6. getfattr -m /backing/dir | grep xtime | wc -l
  
Actual results:

1

Expected results:

0

Additional info:

--- Additional comment from aavati on 2012-01-04 17:24:25 EST ---

CHANGE: http://review.gluster.com/2559 (features/marker: xtime should not be updated for modifications done by special client.) merged in master by Vijay Bellur (vijay)

--- Additional comment from aavati on 2012-01-24 06:34:59 EST ---

CHANGE: http://review.gluster.com/2564 (features/marker: xtime should not be updated for modifications done by special client.) merged in release-3.2 by Vijay Bellur (vijay)

--- Additional comment from vkoppad on 2012-02-10 05:20:30 EST ---

Verified on gluster-3.2.6qa2. It works as expected.

--- Additional comment from aavati on 2012-03-20 10:47:27 EDT ---

CHANGE: http://review.gluster.com/2971 (features/marker: Replacing -1 with GF_CLIENT_PID_GSYNCD as part of code cleanup.) merged in master by Vijay Bellur (vijay)

Comment 3 errata-xmlrpc 2012-05-01 11:18:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0538.html