Bug 773567 - gluster's GET/PUT method feature with getxattr()/setxattr() is not working.
Summary: gluster's GET/PUT method feature with getxattr()/setxattr() is not working.
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Ric Wheeler
QA Contact:
URL:
Whiteboard:
: 782257 782685 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 09:37 UTC by Amar Tumballi
Modified: 2015-10-22 15:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-22 15:46:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Amar Tumballi 2012-01-12 09:37:41 UTC
Description of problem:
Long back when GlusterFS was in still Alpha state (may be 1.3.x releases), we had a feature to create/edit a file, read a file using setxattr()/getxattr() syscalls.
Currently some part of the code is present in posix.c but its not getting hit at all. (found during code-coverage runs)

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

How reproducible:
everytime.


Steps to Reproduce:
1. Make sure its a empty mountpoint, with just one brick in volume (ls /mnt/glusterfs)

2. bash# setxattr -n glusterfs.file.testfile -v "helloworld" /mnt/glusterfs

3. bash# cat /mnt/glusterfs/testfile (should show 'helloworld' as content).
  
Actual results:
setxattr command fails

Expected results:
The above sequence of commands should work fine.

Comment 1 Amar Tumballi 2012-01-17 00:46:57 UTC
*** Bug 782257 has been marked as a duplicate of this bug. ***

Comment 2 Amar Tumballi 2012-01-18 11:34:54 UTC
*** Bug 782685 has been marked as a duplicate of this bug. ***

Comment 3 Amar Tumballi 2012-10-25 11:58:09 UTC
currently planning to remove the 'edit'/modify option of the file... only create and read will be supported from the xattr, which helps to reduce the race conditions. posted patch @ http://review.gluster.org/2605

Comment 7 Kaleb KEITHLEY 2015-10-22 15:46:38 UTC
because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.


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