Re: 1402538 : Assertion failure during rebalance of symbolic links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Dec 13, 2016 at 2:45 PM, Ashish Pandey <aspandey@xxxxxxxxxx> wrote:
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?

Raghavendra/Nithya,
         Could one of you explain the difficulties in fixing this issue in DHT so that Xavi will also be caught up with why we should add this change in EC in the short term.
 

Details on this bug can be found here -

----
Ashish






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

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux