diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-07-14 11:33:19 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2022-07-27 11:20:59 +0100 |
commit | f32890e41daca63b67074eb816b3d3d4458869b3 (patch) | |
tree | cf89e8b1477d4b7b97cebea1ef2f3cc44f319f91 /oslo_db/options.py | |
parent | 8c9ef045d1e697c3bbca5379583f7bd93651f47f (diff) | |
download | oslo-db-f32890e41daca63b67074eb816b3d3d4458869b3.tar.gz |
Deprecate MySQL NDB Cluster Support
Traditionally, the MySQL support in oslo.db has assumed use of the
InnoDB storage engine. However, this isn't the only storage engine
available and a few years ago an effort was made to add support for
another storage engine, MySQL Cluster (NDB). The oslo.db aspects of this
effort were tracked via bug 1564110 [1] and from reading this bug and
looking at other patches related to this effort [2], it becomes obvious
that this was never seen through to the completion and the
OpenStack-wide effort never took off [3]. As a result, much of what is
here is in-effect dead code now.
Given no one is using this engine, there's no reason to keep it around.
Deprecate it with an eye on removing it sooner rather than later.
[1] https://bugs.launchpad.net/oslo.db/+bug/1564110
[2] https://review.opendev.org/q/owner:octave.orgeron%2540oracle.com
[3] https://review.opendev.org/c/openstack/openstack-specs/+/429940
Change-Id: Id5ddf1d6f47b8a572001f58ad8b9b8a7dbe4e8ac
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'oslo_db/options.py')
-rw-r--r-- | oslo_db/options.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py index df07c33..d827970 100644 --- a/oslo_db/options.py +++ b/oslo_db/options.py @@ -62,6 +62,12 @@ database_opts = [ cfg.BoolOpt( 'mysql_enable_ndb', default=False, + deprecated_for_removal=True, + deprecated_since='12.1.0', + deprecated_reason=( + 'Support for the MySQL NDB Cluster storage engine has been ' + 'deprecated and will be removed in a future release.' + ), help=( 'If True, transparently enables support for handling ' 'MySQL Cluster (NDB).' |