From fe51d187817dcedcfd3f71a5ce7a00f8fc6be577 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 8 Feb 2022 22:31:32 +0900 Subject: [PATCH] Remove deprecated database_min_pool_size ... because it was deprecated during Ussuri cycle. Change-Id: I8b6ec1d9d4b4302a49c169966ad6c949f4a462f9 --- manifests/db.pp | 13 ------------- ...ove-database_min_pool_size-210e5306ab965fa9.yaml | 4 ++++ 2 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 releasenotes/notes/remove-database_min_pool_size-210e5306ab965fa9.yaml diff --git a/manifests/db.pp b/manifests/db.pp index be3c16a6..461e6218 100644 --- a/manifests/db.pp +++ b/manifests/db.pp @@ -52,13 +52,6 @@ # Cluster (NDB). # Defaults to $::os_service_default # -# DEPRECATED PARAMETERS -# -# [*database_min_pool_size*] -# Minimum number of SQL connections to keep open in a pool. -# NOTE: This is currently NOT used until barbican correctly leverages oslo. -# (Optional) Defaults to undef -# class barbican::db ( $database_connection = 'sqlite:////var/lib/barbican/barbican.sqlite', $database_connection_recycle_time = $::os_service_default, @@ -70,16 +63,10 @@ class barbican::db ( $database_db_max_retries = $::os_service_default, $database_pool_timeout = $::os_service_default, $mysql_enable_ndb = $::os_service_default, - # DEPRECATED PARAMETERS - $database_min_pool_size = undef, ) { include barbican::deps - if $database_min_pool_size { - warning('The database_min_pool_size parameter is deprecated, and will be removed in a future release.') - } - oslo::db { 'barbican_config': connection => $database_connection, connection_recycle_time => $database_connection_recycle_time, diff --git a/releasenotes/notes/remove-database_min_pool_size-210e5306ab965fa9.yaml b/releasenotes/notes/remove-database_min_pool_size-210e5306ab965fa9.yaml new file mode 100644 index 00000000..9f3718c2 --- /dev/null +++ b/releasenotes/notes/remove-database_min_pool_size-210e5306ab965fa9.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``barbican::db::database_min_pool_size`` parameter has been removed.