bugGluster - Bugs: bug #22873, erroneous behavior in AFR if file...

 
 

bug #22873: erroneous behavior in AFR if file already has extended attribute before copying into glusterfs mountpoint

Submitted by:  Rodney McDuff <aubergine>
Submitted on:  Tue 08 Apr 2008 05:17:19 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 3 - LowItem Group: Improper behaviour
Status: NonePrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: Amar
Open/Closed: ClosedRelease: 
Operating System: Mac OSReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 02 Jan 2009 01:59:10 AM UTC, comment #3:

A lot has been fixed in glusterfs codebase, and also, MacFUSE version tested during that time has lot of known issues.. my recent tests with MacFUSE-2.0 (which got released in December) seems to be working fine.

Closing the bug, can reopen if seen again.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Fri 29 Aug 2008 08:20:55 PM UTC, comment #2:

Hi,
http://ftp.zresearch.com/pub/gluster/glusterfs/1.4-qa/glusterfs-1.4.0qa40.tar.gz

Can you see if the bugs are gone ? I will be closing these bugs in a week, if exists, will re-open.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Fri 06 Jun 2008 10:47:44 PM UTC, comment #1:

Hi, I am starting porting of new branch to MAC OS X next week, will look into this while doing that.

Moved the priority to low.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Tue 08 Apr 2008 05:17:19 AM UTC, original submission:

If a file already has a extended attributes before being copied into a glusterfs mountpoint (ie:

ls -ald@ Library/Preferences/QuickTime\ Preferences
-rw-r--r--@ 1 itsstg staff 0 Mar 17 12:41 Library/Preferences/QuickTime Preferences
com.apple.quarantine 46
)

several error occur in the logs (ie

Apr 8 15:00:19 172.23.245.3 ilc1-003 glusterfsd[29646]: W [posix.c:1511:posix_setxattr] brick: setxattr on /QuickTime Preferences: Invalid argument
Apr 8 15:00:19 172.23.245.153 ilc4-153 glusterfsd[34098]: W [posix.c:1511:posix_setxattr] brick: setxattr on /QuickTime Preferences: Invalid argument
Apr 8 15:00:19 172.23.247.1 ilc-template glusterfs[66]: E [afr.c:1082:afr_setxattr_cbk] AFR003: (path=/QuickTime Preferences child=ilc1-003.ilc.bacs.uq.edu.au) op_ret=-1 op_errno=22
Apr 8 15:00:19 172.23.245.103 ilc3-103 glusterfsd[72873]: W [posix.c:1511:posix_setxattr] brick: setxattr on /QuickTime Preferences: Invalid argument
Apr 8 15:00:19 172.23.247.1 ilc-template glusterfs[66]: E [afr.c:1082:afr_setxattr_cbk] AFR003: (path=/QuickTime Preferences child=ilc4-153.ilc.bacs.uq.edu.au) op_ret=-1 op_errno=22
Apr 8 15:00:19 172.23.247.1 ilc-template glusterfs[66]: E [afr.c:1082:afr_setxattr_cbk] AFR003: (path=/QuickTime Preferences child=ilc3-103.ilc.bacs.uq.edu.au) op_ret=-1 op_errno=22
Apr 8 15:00:19 172.23.247.1 ilc-template glusterfs[66]: E [unify.c:2783:unify_setxattr_cbk] bricks: fop failed on AFR003 (22)
Apr 8 15:00:19 172.23.247.1 ilc-template glusterfs[66]: E [fuse-bridge.c:922:fuse_err_cbk] glusterfs-fuse: 0: (19) /QuickTime Preferences => -1 (22)

)

and file loses original extended attribute (ie

ls -al@ /mnt/glusterfs/QuickTime\ Preferences
-rw-r--r--@ 1 root wheel 0 Apr 8 15:01 /mnt/glusterfs/QuickTime Preferences
trusted.glusterfs.createtime 10
trusted.glusterfs.version 1
)

/opt/local/sbin/glusterfs --version
glusterfs 1.3.8pre5 built on Apr 7 2008 09:28:28
Repository revision: glusterfs--mainline--2.5--patch-734

on Mac OS 10.5.2
uname -a
Darwin 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386

Rodney McDuff <aubergine>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15417:  unified-4x3AFR.vol added by aubergine (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by aubergine (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Jan 2009 01:59:10 AM UTCamartsOpen/ClosedOpen=>Closed
    Fri 29 Aug 2008 08:20:54 PM UTCamartsOriginator Name=>Amar
    Fri 06 Jun 2008 10:47:44 PM UTCamartsPriority5 - Normal=>3 - Low
      Assigned toNone=>amarts
    Tue 08 Apr 2008 05:17:19 AM UTCaubergineAttached File-=>Added unified-4x3AFR.vol, #15417

    Back to the top


    Powered by Savane 3.1-cleanup1