Hi All, 

We have been seeing an issue where re balancing symbolic links leads to an 
assertion failure in EC volume. 

The root cause of this is that while migrating symbolic links to other sub 
volume, it creates a link file (with attributes .........T) . 
This file is a regular file. 
Now, during migration a setattr comes to this link and because of possible 
race, posix_stat return stats of this "T" file. 
In ec_manager_seattr, we receive callbacks and check the type of entry. If it 
is a regular file we try to get size and if it is not there, we raise an 
assert. 
So, basically we are checking a size of the link (which will not have size) 
which has been returned as regular file and we are ending up when this 
condition 
becomes TRUE. 

Now, this looks like a problem with re balance and difficult to fix at this 
point (as per the discussion). 
We have an alternative to fix it in EC but that will be more like a hack than 
an actual fix. We should not modify EC 
to deal with an individual issue which is in other translator. 

Now the question is how to proceed with this? Any suggestions? 

Details on this bug can be found here - 
https://bugzilla.redhat.com/show_bug.cgi?id=1402538 

---- 
Ashish 



_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to