Bug 1452239 - [GSS]stale gfid links exists in RHGS 3.1.3
Summary: [GSS]stale gfid links exists in RHGS 3.1.3
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: posix
Version: rhgs-3.1
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: Pranith Kumar K
QA Contact: Rahul Hinduja
URL:
Whiteboard:
Depends On:
Blocks: RHGS-3.4-GSS-proposed-tracker
TreeView+ depends on / blocked
 
Reported: 2017-05-18 16:03 UTC by Riyas Abdulrasak
Modified: 2020-06-11 13:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:19:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Riyas Abdulrasak 2017-05-18 16:03:49 UTC
Description of problem:

There are gfid hardlinks for file exists in the RHGS 3.1.3 replicated volume bricks. The file doesn't exist in the brick directory but hardlink exists in the .glusterfs directory. The link count to the hardlink is 1. 


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

RHGS 3.1.3

How reproducible:

Reproducible in customer environment. 


Actual results:

stale gfid links exists in the .glusterfs directory and consume space. This causes a mismatch between the size of .glusterfs directory between the replica bricks


Expected results:

gfid link should be deleted if the file corresponding to it doesn't exist. 


Additional info:


Will be added in the next comments.

Comment 13 Amar Tumballi 2018-10-30 10:19:14 UTC
Would be great to mark this as a KBase article and close this?

Also note that this could happen in a situation with 'replica 2' and 3.1.x version... with higher versions of RHGS, and 'replica 3' we have not seen these issues!

Marked as WORKSFORME on glusterfs-3.12.2-18 + (ie, RHGS-3.4.0 and above).


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