Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-15 Thread Xavier Hernandez
On 12/15/2016 01:41 PM, Nithya Balachandran wrote: On 15 December 2016 at 18:07, Xavier Hernandez > wrote: On 12/15/2016 12:48 PM, Raghavendra Gowdappa wrote: I need to step back a little to understand the RCA correctly.

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-15 Thread Nithya Balachandran
On 15 December 2016 at 18:07, Xavier Hernandez wrote: > On 12/15/2016 12:48 PM, Raghavendra Gowdappa wrote: > >> I need to step back a little to understand the RCA correctly. >> >> If I understand the code correctly, the callstack which resulted in >> failed setattr is (in

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-15 Thread Xavier Hernandez
On 12/15/2016 12:48 PM, Raghavendra Gowdappa wrote: I need to step back a little to understand the RCA correctly. If I understand the code correctly, the callstack which resulted in failed setattr is (in rebalance process): dht_lookup -> dht_lookup_cbk -> dht_lookup_everwhere ->

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-15 Thread Raghavendra Gowdappa
I need to step back a little to understand the RCA correctly. If I understand the code correctly, the callstack which resulted in failed setattr is (in rebalance process): dht_lookup -> dht_lookup_cbk -> dht_lookup_everwhere -> dht_lookup_everywhere_cbk -> dht_lookup_everywhere_done ->

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-14 Thread Xavier Hernandez
On 12/14/2016 10:28 AM, Pranith Kumar Karampuri wrote: On Wed, Dec 14, 2016 at 2:54 PM, Xavier Hernandez > wrote: On 12/14/2016 10:17 AM, Pranith Kumar Karampuri wrote: On Wed, Dec 14, 2016 at 1:48 PM, Xavier Hernandez

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-14 Thread Xavier Hernandez
On 12/14/2016 10:17 AM, Pranith Kumar Karampuri wrote: On Wed, Dec 14, 2016 at 1:48 PM, Xavier Hernandez > wrote: There's another issue with the patch that Ashish sent. The original problem is that a setattr on a symbolic link gets

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-14 Thread Pranith Kumar Karampuri
On Wed, Dec 14, 2016 at 1:48 PM, Xavier Hernandez wrote: > There's another issue with the patch that Ashish sent. > > The original problem is that a setattr on a symbolic link gets transformed > to a regular file while the fop is being executed. Even if we apply the >

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-14 Thread Xavier Hernandez
There's another issue with the patch that Ashish sent. The original problem is that a setattr on a symbolic link gets transformed to a regular file while the fop is being executed. Even if we apply the Ashish' patch to avoid the assert, the setattr fop will still succeed and incorrectly

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-14 Thread Xavier Hernandez
On 12/14/2016 06:10 AM, Raghavendra Gowdappa wrote: - Original Message - From: "Pranith Kumar Karampuri" To: "Ashish Pandey" Cc: "Gluster Devel" , "Shyam Ranganathan" , "Nithya Balachandran"

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-13 Thread Raghavendra Gowdappa
- Original Message - > From: "Pranith Kumar Karampuri" > To: "Ashish Pandey" > Cc: "Gluster Devel" , "Shyam Ranganathan" > , "Nithya Balachandran" > , "Xavier Hernandez"

Re: [Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-13 Thread Pranith Kumar Karampuri
On Tue, Dec 13, 2016 at 2:45 PM, Ashish Pandey 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

[Gluster-devel] 1402538 : Assertion failure during rebalance of symbolic links

2016-12-13 Thread Ashish Pandey
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,