Bug 815041 - marker should not index modifications of special clients
Summary: marker should not index modifications of special clients
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: geo-replication
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On: 769494
Blocks: 811632
TreeView+ depends on / blocked
 
Reported: 2012-04-22 07:21 UTC by Scott Haines
Modified: 2015-01-22 15:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 769494
Environment:
Last Closed: 2012-05-01 11:18:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0538 0 normal SHIPPED_LIVE Red Hat Storage Software Appliance 3.2 bug fix update. 2012-05-01 15:15:12 UTC

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


Note You need to log in before you can comment on or make changes to this bug.