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
This commit is contained in:
Erik Olof Gunnar Andersson 2018-04-29 19:17:56 -07:00
parent e45ffc9bf4
commit eccb4ef22e

View File

@ -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',