bugGluster - Bugs: bug #21420, afr self heal not working for...

 
 

bug #21420: afr self heal not working for hardlinks

Submitted by:  Raghavendra <raghavendra>
Submitted on:  Thu 25 Oct 2007 05:20:46 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: Krishna Srinivas <krishnasrinivas>Originator Name: Gowda
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 22 Jun 2009 09:48:05 AM UTC, comment #2:

cluster/afr (replicate) went through a design change and complete re-write after this bug report. this bug does not hold good anymore. closing it.

please test the similar use case on latest afr (replicate) and re-open the bug, if case is found.

--
Gowda

Basavanagowda Kanur <gowda>
Project Member
Thu 25 Oct 2007 06:29:11 AM UTC, comment #1:

mistake in my test setup. Back end filesystem was not supporting extended attributes.

with backend filesystem supporting extended attributes, a new file called file-ln is created. But file-ln is not an hard link to file.

darkstar:/mnt# ls -i *
export1:
132 file 133 file-ln

export2:
524417 file 524417 file-ln

Raghavendra <raghavendra>
Project Member
Thu 25 Oct 2007 05:20:46 AM UTC, original submission:

setup:
2 servers exporting 2 different bricks.
client has afr with 2 bricks exported by the servers as children.
all the servers and client are running on the same machine.

how to reproduce:
1. stop server1.
2. on the glusterfs mount point do,
ln file file-ln
3. resume server1
4. on glusterfs mount point do,
find .

expected behaviour: hardlink file-ln pointing to file should be created in the brick exported by the server1.

bug: expected behaviour not happening.

also another observation is that, ls -li on file-ln (after server1 is resumed) is returning the inode number of file exported by server1 (I was expecting it to be from server2).

PS: self-heal works for sym-links.

Raghavendra <raghavendra>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gowda (Posted a comment)
  • -unavailable- added by raghavendra (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Jun 2009 09:51:45 AM UTCgowdaOpen/ClosedOpen=>Closed
    Mon 22 Jun 2009 09:49:24 AM UTCgowdaStatusNone=>Fixed
    Mon 22 Jun 2009 09:48:05 AM UTCgowdaOriginator Name=>Gowda

    Back to the top


    Powered by Savane 3.1-cleanup1