<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 30, 2017 at 9:02 PM, Xavier Hernandez <span dir="ltr"><<a href="mailto:xhernandez@datalab.es" target="_blank">xhernandez@datalab.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Atin,<span class=""><br>
<br>
On 30/01/17 15:25, Atin Mukherjee wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<br>
On Mon, Jan 30, 2017 at 7:30 PM, Xavier Hernandez <<a href="mailto:xhernandez@datalab.es" target="_blank">xhernandez@datalab.es</a><br></span><span class="">
<mailto:<a href="mailto:xhernandez@datalab.es" target="_blank">xhernandez@datalab.es</a>><wbr>> wrote:<br>
<br>
Hi,<br>
<br>
I'm wondering how a new option needs to be created to be available<br>
to different versions of gluster.<br>
<br>
When a new option is created for 3.7 for example, it needs to have a<br>
GD_OP_VERSION referencing the next 3.7 release. This ensures that<br>
there won't be any problem with previous versions.<br>
<br>
However what happens with 3.8 ?<br>
<br>
3.8.0 is greater than any 3.7.x, however the new option won't be<br>
available until the next 3.8 release. How this needs to be handled ?<br>
<br>
<br>
I'd discourage to backport any new volume options from mainline to the<br>
stable releases branches like 3.7 & 3.8. This creates a lot of backward<br>
compatibility issues w.r.t clients. Any new option is actually an RFE<br>
and supposed to be slated for only upcoming releases.<br>
</span></blockquote>
<br>
Even if it's needed to solve an issue in all versions ?<br>
<br>
For example, a hardcoded timeout is seen to be insufficient in some configurations, so it needs to be increased, but increasing it will be too much for many of the environments where the current timeout has worked fine. It could even be not enough for other environments still not tried, needed a future increase.<br>
<br>
With a new option, this can be solved case by case and only when needed.<br>
<br>
How can this be solved ? </blockquote><div><br></div><div>Hi Xavi,<br><br>Let me try to explain this a bit in detail. A new option with an op-version say 30721 (considering 3.7.21 is the next update of 3.7 which is the oldest active branch) is introduced in mainline and then the same is backported to 3.7 (slated for 3.7.21) & 3.8 branch (slated for 3.8.9). Now say if an user forms a cluster of three nodes with gluster versions as 3.7.21, 3.8.9 & 3.8.8 respectively and tries to set this option, volume set would always fail as in 3.8.8 this option is not defined. Also any client running with 3.8 version would see a compatibility issue here. Also the op-version number of the new option has to be same across different release branches.<br><br></div><div>With the current form of op-version management, I don't think this can be solved, the only way is to ask users to upgrade to the latest.<br><br></div><div>Kaushal - if you have any other ideas, please suggest.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
<br>
Xavi<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<br>
<br>
Thanks,<br>
<br>
Xavi<br>
______________________________<wbr>_________________<br>
Gluster-devel mailing list<br></span>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a> <mailto:<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.<wbr>org</a>><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-devel</a><span class=""><br>
<<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/mail<wbr>man/listinfo/gluster-devel</a>><br>
<br>
<br>
<br>
<br>
--<br>
<br>
~ Atin (atinm)<br>
</span></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div>~ Atin (atinm)<br></div></div></div></div>
</div></div>