Re: [Gluster-devel] autodelete in snapshots

2014-04-22 Thread Vijay Bellur
On 04/20/2014 11:42 PM, Lalatendu Mohanty wrote: On 04/16/2014 11:39 AM, Avra Sengupta wrote: The whole purpose of introducing the soft-limit is, that at any point of time the number of snaps should not exceed the hard limit. If we trigger auto-delete on hitting hard-limit, then the purpose itse

Re: [Gluster-devel] autodelete in snapshots

2014-04-20 Thread Lalatendu Mohanty
On 04/16/2014 11:39 AM, Avra Sengupta wrote: The whole purpose of introducing the soft-limit is, that at any point of time the number of snaps should not exceed the hard limit. If we trigger auto-delete on hitting hard-limit, then the purpose itself is lost, because at that point we would be tak

Re: [Gluster-devel] autodelete in snapshots

2014-04-17 Thread Paul Cuzner
5 April, 2014 11:35:19 PM > Subject: Re: [Gluster-devel] autodelete in snapshots > - Original Message - > > From: "Avra Sengupta" > > To: "Lalatendu Mohanty" , "Raghavendra Bhat" > > , "gluster-devel" > > , "Rahul Hin

Re: [Gluster-devel] autodelete in snapshots

2014-04-15 Thread Rahul Hinduja
- Original Message - > From: "Avra Sengupta" > To: "Lalatendu Mohanty" , "Raghavendra Bhat" > , "gluster-devel" > , "Rahul Hinduja" , "Seema > Naik" > Sent: Wednesday, April 16, 2014 11:39:11 AM &g

Re: [Gluster-devel] autodelete in snapshots

2014-04-15 Thread Avra Sengupta
The whole purpose of introducing the soft-limit is, that at any point of time the number of snaps should not exceed the hard limit. If we trigger auto-delete on hitting hard-limit, then the purpose itself is lost, because at that point we would be taking a snap, making the limit hard-limit + 1,

Re: [Gluster-devel] autodelete in snapshots

2014-04-15 Thread Paul Cuzner
. Cheers, PC - Original Message - > From: "Lalatendu Mohanty" > To: "Raghavendra Bhat" , "gluster-devel" > > Sent: Tuesday, 15 April, 2014 6:48:36 AM > Subject: Re: [Gluster-devel] autodelete in snapshots > On 04/15/2014 07:05 PM, Ragha

Re: [Gluster-devel] autodelete in snapshots

2014-04-15 Thread Lalatendu Mohanty
On 04/15/2014 07:05 PM, Raghavendra Bhat wrote: Hi, As of now, in snapshots there are 2 limits for the number of snapshots, hard-limit and soft-limit. Usually soft-limit is 90% of hard-limit by default (it can be changed also). Say the hard-limit is 50, then soft-limit by default will be 45.

[Gluster-devel] autodelete in snapshots

2014-04-15 Thread Raghavendra Bhat
Hi, As of now, in snapshots there are 2 limits for the number of snapshots, hard-limit and soft-limit. Usually soft-limit is 90% of hard-limit by default (it can be changed also). Say the hard-limit is 50, then soft-limit by default will be 45. We are planning to do autodelete of the oldest