From eccb4ef22e9852e0080d24a747e0aeb65f004481 Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Sun, 29 Apr 2018 19:17:56 -0700 Subject: [PATCH] Deprecate min_pool_size This option has for a long time done nothing in oslo.db and sqlalchemy does not support this convention. As such I recommend that we deprecate and eventually remove the option. Closes-bug: #1764786 Change-Id: Ib07b7b4200b5cf3a34b8eed441e6754da7d446cf --- oslo_db/options.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oslo_db/options.py b/oslo_db/options.py index 9a08552c..58b4efda 100644 --- a/oslo_db/options.py +++ b/oslo_db/options.py @@ -73,6 +73,9 @@ database_opts = [ group='DEFAULT'), cfg.DeprecatedOpt('sql_min_pool_size', group='DATABASE')], + deprecated_for_removal=True, + deprecated_reason='The option to set the minimum pool ' + 'size is not supported by sqlalchemy.', help='Minimum number of SQL connections to keep open in a ' 'pool.'), cfg.IntOpt('max_pool_size',