Re: Creating new options for multiple gluster versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, Jan 30, 2017 at 9:02 PM, Xavier Hernandez <xhernandez@xxxxxxxxxx> wrote:
Hi Atin,

On 30/01/17 15:25, Atin Mukherjee wrote:


On Mon, Jan 30, 2017 at 7:30 PM, Xavier Hernandez <xhernandez@xxxxxxxxxx
<mailto:xhernandez@xxxxxxxxxx>> wrote:

    Hi,

    I'm wondering how a new option needs to be created to be available
    to different versions of gluster.

    When a new option is created for 3.7 for example, it needs to have a
    GD_OP_VERSION referencing the next 3.7 release. This ensures that
    there won't be any problem with previous versions.

    However what happens with 3.8 ?

    3.8.0 is greater than any 3.7.x, however the new option won't be
    available until the next 3.8 release. How this needs to be handled ?


I'd discourage to backport any new volume options from mainline to the
stable releases branches like 3.7 & 3.8. This creates a lot of backward
compatibility issues w.r.t clients. Any new option is actually an RFE
and supposed to be slated for only upcoming releases.

Even if it's needed to solve an issue in all versions ?

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.

With a new option, this can be solved case by case and only when needed.

How can this be solved ? 

Hi Xavi,

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.

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.

Kaushal - if you have any other ideas, please suggest.


Thanks,

Xavi




    Thanks,

    Xavi
    _______________________________________________
    Gluster-devel mailing list
    Gluster-devel@xxxxxxxxxxx <mailto:Gluster-devel@gluster.org>
    http://lists.gluster.org/mailman/listinfo/gluster-devel
    <http://lists.gluster.org/mailman/listinfo/gluster-devel>




--

~ Atin (atinm)




--

~ Atin (atinm)
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux