Bug 764802 (GLUSTER-3070) - After 'rebalance', the gfid of the file gets changed
Summary: After 'rebalance', the gfid of the file gets changed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3070
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: All
urgent
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: GLUSTER-2258
TreeView+ depends on / blocked
 
Reported: 2011-06-22 06:46 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Amar Tumballi 2011-06-22 06:46:16 UTC
Ideally, as rebalance is part of glusterfs internal activity, the 'gfid' (which is the identity for a file, like inode number) gets changed.

This is not causing any problems as of now because glusterfs being distributed system, can do a re-lookup and get the info of file even if the gfid changes, but in theory, the gfid of the file should remain same even after rebalance. (which is very important to handle open-fd rebalance).

Comment 1 Anand Avati 2011-07-14 05:01:49 UTC
PATCH: http://patches.gluster.com/patch/7711 in master (distribute: bring in feature to do rebalance from inside)

Comment 2 Anand Avati 2011-07-14 05:01:54 UTC
PATCH: http://patches.gluster.com/patch/7712 in master (glusterd-rebalance: utilize distribute's internal rebalance feature)

Comment 3 Vijaykumar 2011-08-16 09:19:30 UTC
I created a distribute volume with one brick and started it and mounted it as fuse mount. I created some 5 files using touch on the mount point and checked their gfids in the backend. Then added one brick to the volume and started rebalance,then checked gfids of all the files in the backend. Now gfids won't change with the rebalance.


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