Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-10 Thread Raghavendra Gowdappa
> > > > hmm.. I would prefer an infinite timeout. The only scenario where brick > > process can forcefully flush leases would be connection lose with > > rebalance process. The more scenarios where brick can flush leases > > without knowledge of rebalance process, we open up more race-windows for >

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-09 Thread Soumya Koduri
On 02/09/2016 12:30 PM, Raghavendra G wrote: Right. But if there are simultaneous access to the same file from any other client and rebalance process, delegations shall not be granted or revoked if granted even though they are operating at dif

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Raghavendra G
>>Right. But if there are simultaneous access to the same file from > any other client and rebalance process, delegations shall not be >> granted or revoked if granted even though they are operating at >> different offsets. So if you rely only on delegations, migration may >> n

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Soumya Koduri
On 02/09/2016 10:27 AM, Raghavendra G wrote: On Mon, Feb 8, 2016 at 4:31 PM, Soumya Koduri mailto:skod...@redhat.com>> wrote: On 02/08/2016 09:13 AM, Shyam wrote: On 02/06/2016 06:36 PM, Raghavendra Gowdappa wrote: - Original Message - F

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Raghavendra G
On Mon, Feb 8, 2016 at 4:31 PM, Soumya Koduri wrote: > > > On 02/08/2016 09:13 AM, Shyam wrote: > >> On 02/06/2016 06:36 PM, Raghavendra Gowdappa wrote: >> >>> >>> >>> - Original Message - >>> From: "Raghavendra Gowdappa" To: "Sakshi Bansal" , "Susant Palai" Cc: "Glu

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Raghavendra Gowdappa
- Original Message - > From: "Joe Julian" > To: "Raghavendra Gowdappa" > Cc: gluster-devel@gluster.org > Sent: Monday, February 8, 2016 9:08:45 PM > Subject: Re: [Gluster-devel] Rebalance data migration and corruption > > > > On

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Joe Julian
On 02/08/2016 12:18 AM, Raghavendra Gowdappa wrote: - Original Message - From: "Joe Julian" To: gluster-devel@gluster.org Sent: Monday, February 8, 2016 12:20:27 PM Subject: Re: [Gluster-devel] Rebalance data migration and corruption Is this in current release versions?

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Soumya Koduri
On 02/08/2016 09:13 AM, Shyam wrote: On 02/06/2016 06:36 PM, Raghavendra Gowdappa wrote: - Original Message - From: "Raghavendra Gowdappa" To: "Sakshi Bansal" , "Susant Palai" Cc: "Gluster Devel" , "Nithya Balachandran" , "Shyamsundar Ranganathan" Sent: Friday, February 5, 2016 4

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-08 Thread Raghavendra Gowdappa
- Original Message - > From: "Joe Julian" > To: gluster-devel@gluster.org > Sent: Monday, February 8, 2016 12:20:27 PM > Subject: Re: [Gluster-devel] Rebalance data migration and corruption > > Is this in current release versions? Yes. This bug is p

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-07 Thread Joe Julian
Is this in current release versions? On 02/07/2016 07:43 PM, Shyam wrote: On 02/06/2016 06:36 PM, Raghavendra Gowdappa wrote: - Original Message - From: "Raghavendra Gowdappa" To: "Sakshi Bansal" , "Susant Palai" Cc: "Gluster Devel" , "Nithya Balachandran" , "Shyamsundar Rangana

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-07 Thread Shyam
On 02/06/2016 06:36 PM, Raghavendra Gowdappa wrote: - Original Message - From: "Raghavendra Gowdappa" To: "Sakshi Bansal" , "Susant Palai" Cc: "Gluster Devel" , "Nithya Balachandran" , "Shyamsundar Ranganathan" Sent: Friday, February 5, 2016 4:32:40 PM Subject: Re: Rebalance data m

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-06 Thread Raghavendra Gowdappa
- Original Message - > From: "Raghavendra Gowdappa" > To: "Sakshi Bansal" , "Susant Palai" > Cc: "Gluster Devel" , "Nithya Balachandran" > , "Shyamsundar > Ranganathan" > Sent: Friday, February 5, 2016 4:32:40 PM > Subject: Re: Rebalance data migration and corruption > > +gluster-dev

Re: [Gluster-devel] Rebalance data migration and corruption

2016-02-05 Thread Raghavendra Gowdappa
+gluster-devel > > Hi Sakshi/Susant, > > - There is a data corruption issue in migration code. Rebalance process, > 1. Reads data from src > 2. Writes (say w1) it to dst > > However, 1 and 2 are not atomic, so another write (say w2) to same region > can happen between 1. But these two w