Merge "Remove overwriting the default value of db_max_retries."
This commit is contained in:
commit
4f8afe8085
@ -26,6 +26,3 @@ opts = [
|
||||
|
||||
def register_opts(conf):
|
||||
conf.register_opts(opts, group='database')
|
||||
# Change the oslo_db side default to 5
|
||||
conf.import_opt('db_max_retries', 'ironic.db.api', group='database')
|
||||
conf.set_default('db_max_retries', 5, group='database')
|
||||
|
@ -5,10 +5,8 @@ fixes:
|
||||
features:
|
||||
- Adds DBDeadlock handling which may improve stability when using Galera.
|
||||
See https://bugs.launchpad.net/ironic/+bug/1639338. Number of retries
|
||||
depends on the configuration option ``[database]db_max_retries`` which
|
||||
programmatically defaults to 5.
|
||||
depends on the configuration option ``[database]db_max_retries``.
|
||||
upgrade:
|
||||
- All DB API methods doing database writes now retry on deadlock. The
|
||||
``[database]db_max_retries`` configuration option specifies the maximum
|
||||
number of times to retry, and can be customised if necessary. It is 5 by
|
||||
default.
|
||||
number of times to retry, and can be customised if necessary.
|
Loading…
Reference in New Issue
Block a user