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

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

2016-02-08 Thread Raghavendra Gowdappa
- Original Message - > From: "Joe Julian" <j...@julianfamily.org> > 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 v

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

2016-02-08 Thread Soumya Koduri
edhat.com> Cc: "Gluster Devel" <gluster-devel@gluster.org>, "Nithya Balachandran" <nbala...@redhat.com>, "Shyamsundar Ranganathan" <srang...@redhat.com> Sent: Friday, February 5, 2016 4:32:40 PM Subject: Re: Rebalance data migration and corruption +glu

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

2016-02-08 Thread Raghavendra G
"Nithya >>>> Balachandran" <nbala...@redhat.com>, "Shyamsundar >>>> Ranganathan" <srang...@redhat.com> >>>> Sent: Friday, February 5, 2016 4:32:40 PM >>>> Subject: Re: Rebalance data migration and corruption >>

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 >>

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

2016-02-08 Thread Raghavendra Gowdappa
- Original Message - > From: "Joe Julian" <j...@julianfamily.org> > To: "Raghavendra Gowdappa" <rgowd...@redhat.com> > Cc: gluster-devel@gluster.org > Sent: Monday, February 8, 2016 9:08:45 PM > Subject: Re: [Gluster-devel] Rebalance data mi

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

2016-02-08 Thread Soumya Koduri
com <mailto:nbala...@redhat.com>>, "Shyamsundar Ranganathan" <srang...@redhat.com <mailto:srang...@redhat.com>> Sent: Friday, February 5, 2016 4:32:40 PM Subject: Re: Rebalance data migration and corrupt

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" <j...@julianfamily.org> To: gluster-devel@gluster.org Sent: Monday, February 8, 2016 12:20:27 PM Subject: Re: [Gluster-devel] Rebalance data migration and corruption Is

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

2016-02-07 Thread Shyam
<gluster-devel@gluster.org>, "Nithya Balachandran" <nbala...@redhat.com>, "Shyamsundar Ranganathan" <srang...@redhat.com> Sent: Friday, February 5, 2016 4:32:40 PM Subject: Re: Rebalance data migration and corruption +gluster-devel Hi Sakshi/Susant, - There

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

2016-02-07 Thread Joe Julian
Susant Palai" <spa...@redhat.com> Cc: "Gluster Devel" <gluster-devel@gluster.org>, "Nithya Balachandran" <nbala...@redhat.com>, "Shyamsundar Ranganathan" <srang...@redhat.com> Sent: Friday, February 5, 2016 4:32:40 PM Subject: Re: Rebalance

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

2016-02-06 Thread Raghavendra Gowdappa
hya Balachandran" > <nbala...@redhat.com>, "Shyamsundar > Ranganathan" <srang...@redhat.com> > Sent: Friday, February 5, 2016 4:32:40 PM > Subject: Re: Rebalance data migration and corruption > > +gluster-devel > > > > > Hi Sakshi/Susa

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