All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Nelson <mark.nelson@inktank.com>
To: Gregory Farnum <greg@gregs42.com>, Sage Weil <sweil@redhat.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>,
	ceph-users <ceph-users@ceph.com>
Subject: Re: experimental features
Date: Fri, 05 Dec 2014 11:46:19 -0600	[thread overview]
Message-ID: <5481EF6B.4010901@redhat.com> (raw)
In-Reply-To: <CAC6JEv8LVviFoNXB72gKBQ+seNVYphvpwm0QZeOwccPHr7Qatg@mail.gmail.com>



On 12/05/2014 11:39 AM, Gregory Farnum wrote:
> On Fri, Dec 5, 2014 at 9:36 AM, Sage Weil <sweil@redhat.com> wrote:
>> A while back we merged Haomai's experimental OSD backend KeyValueStore.
>> We named the config option 'keyvaluestore_dev', hoping to make it clear to
>> users that it was still under development, not fully tested, and not yet
>> ready for production.  In retrospect, I don't think '_dev' was
>> sufficiently scary because many users tried it and ran into
>> unexpectd trouble.
>>
>> There are several other features we've recently added or are considering
>> adding that fall into this category.  Having them in the tree is great
>> because it streamlines QA and testing, but I want to make sure that
>> users are not able to enable the features without being aware of the
>> risks.
>>
>> A few possible suggestions:
>>
>> - scarier option names, like
>>
>>    osd objectstore = keyvaluestore_experimental_danger_danger
>>    ms type = async_experimental_danger_danger
>>    ms type = xio_experimental_danger_danger
>>
>>    Once the feature becomes stable, they'll have to adjust their
>> config, or we'll need to support both names going forward.
>>
>> - a separate config option that allows any experimental option
>>
>>    allow experimental features danger danger = true
>>    osd objectstore = keyvaluestore
>>    ms type = xio
>>
>>    This runs the risk that the user will enable experimental features to
>> get X, and later start using Y without realizing Y is also
>> experiemental.
>>
>> - enumerate experiemntal options we want to enable
>>
>>    allow experimental features danger danger = keyvaluestore, xio
>>    ms type = xio
>>    osd objectstore = keyvaluestore
>>
>>    This has the property that no config change is necessary when the
>> feature drops its experimental status.
>>
>> In all of these cases, we can also make a point of sending something to
>> the log on daemon startup.  I don't think too many people will notice
>> this, but it is better than nothing.
>>
>> Other ideas?
>
> I don't think these should even be going into release packages for
> users to work with. We can build them on the dev gitbuilders for QA
> and testing without them ever reaching the hands of users grabbing our
> production packages. ;)
> -Greg
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

I'm in favor of the "allow experimental features" but instead call it:

"ALLOW UNRECOVERABLE DATA CORRUPTING FEATURES" which makes things a 
little more explicit. With great power comes great responsibility.

Mark

  reply	other threads:[~2014-12-05 17:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 17:36 experimental features Sage Weil
2014-12-05 17:39 ` Gregory Farnum
2014-12-05 17:46   ` Mark Nelson [this message]
2014-12-08  4:10     ` Justin Erenkrantz
2014-12-08 12:57       ` Fred Yang
2014-12-08 14:33         ` Mark Nelson
2014-12-09  5:25           ` [ceph-users] " Christian Balzer
     [not found]       ` <CAOGLoJN2wSxMgtok6aATSW5o-Abqcv2bdVo+dVfaEbG4iyiQSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-25 22:27         ` Sage Weil
     [not found] ` <alpine.DEB.2.00.1412050927150.24079-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
2014-12-05 17:47   ` David Champion
2014-12-05 21:46 ` [ceph-users] " Nigel Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5481EF6B.4010901@redhat.com \
    --to=mark.nelson@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=ceph-users@ceph.com \
    --cc=greg@gregs42.com \
    --cc=mnelson@redhat.com \
    --cc=sweil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.