Skip to content

Commit

Permalink
Merge "Remove [database] use_tpool and TpoolDbapiWrapper"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed May 29, 2024
2 parents 94926c4 + 59fa4bc commit a59dba4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 213 deletions.
97 changes: 0 additions & 97 deletions oslo_db/concurrency.py

This file was deleted.

6 changes: 3 additions & 3 deletions oslo_db/sqlalchemy/enginefacade.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ def __init__(self):
}

# other options that are defined in oslo_db.options.database_opts
# or oslo_db.concurrency.tpool_opts but do not apply to the standard
# enginefacade arguments (most seem to apply to api.DBAPI).
# but do not apply to the standard enginefacade arguments (most seem
# to apply to api.DBAPI).
self._ignored_cfg = dict(
(k, _Default(None)) for k in [
'db_max_retries', 'db_inc_retry_interval',
'use_db_reconnect',
'db_retry_interval',
'db_max_retry_interval', 'backend', 'use_tpool'
'db_max_retry_interval', 'backend',
]
)

Expand Down
112 changes: 0 additions & 112 deletions oslo_db/tests/test_concurrency.py

This file was deleted.

5 changes: 5 additions & 0 deletions releasenotes/notes/remove-use_tpool-29a8bf9fc68a9bb2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
upgrade:
- |
The ``oslo_db.concurrency.TpoolDbapiWrapper`` class and supporting
``[database] use_tpool`` config option have been removed.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ packages =
[entry_points]
oslo.config.opts =
oslo.db = oslo_db.options:list_opts
oslo.db.concurrency = oslo_db.concurrency:list_opts

oslo.db.migration =
alembic = oslo_db.sqlalchemy.migration_cli.ext_alembic:AlembicExtension

0 comments on commit a59dba4

Please sign in to comment.