Re: [Gluster-devel] context based defaults for volume options in glusterd

2015-09-01 Thread Krishnan Parthasarathi
- Original Message - > hi, > Afr needs context based defaults for quorum where by default > quorum value is 'none' for 2-way replica and 'auto' for 3 way replica. > Anuradha sent http://review.gluster.org/11872 to fix the same. May be we > can come up with more generic solution.

Re: [Gluster-devel] context based defaults for volume options in glusterd

2015-09-01 Thread Pranith Kumar Karampuri
On 09/01/2015 11:55 AM, Krishnan Parthasarathi wrote: - Original Message - hi, Afr needs context based defaults for quorum where by default quorum value is 'none' for 2-way replica and 'auto' for 3 way replica. Anuradha sent http://review.gluster.org/11872 to fix the same. May

Re: [Gluster-devel] context based defaults for volume options in glusterd

2015-09-01 Thread Krishnan Parthasarathi
> > Here are a few things that are not clear to me. > > > > 1) Does the context-based default value for an option comes into effect > > only when .value in vme table is NULL? > If there is context based default then the static default value should > be NULL is my feeling. > > > > 2) IIUC, the

Re: [Gluster-devel] context based defaults for volume options in glusterd

2015-09-01 Thread Pranith Kumar Karampuri
On 09/01/2015 12:05 PM, Krishnan Parthasarathi wrote: Here are a few things that are not clear to me. 1) Does the context-based default value for an option comes into effect only when .value in vme table is NULL? If there is context based default then the static default value should be NULL

Re: [Gluster-devel] context based defaults for volume options in glusterd

2015-09-01 Thread Krishnan Parthasarathi
- Original Message - > > > On 09/01/2015 12:05 PM, Krishnan Parthasarathi wrote: > >>> Here are a few things that are not clear to me. > >>> > >>> 1) Does the context-based default value for an option comes into effect > >>> only when .value in vme table is NULL? > >> If there is

[Gluster-devel] context based defaults for volume options in glusterd

2015-08-31 Thread Pranith Kumar Karampuri
hi, Afr needs context based defaults for quorum where by default quorum value is 'none' for 2-way replica and 'auto' for 3 way replica. Anuradha sent http://review.gluster.org/11872 to fix the same. May be we can come up with more generic solution. The present solution remembers the