Merge "Enable archive task_log records while archiving the database"

This commit is contained in:
Zuul 2021-07-28 15:48:27 +00:00 committed by Gerrit Code Review
commit d79724c348
2 changed files with 12 additions and 0 deletions

View File

@ -226,6 +226,11 @@ parameters:
0 means, purge data older than today in 0 means, purge data older than today in
shadow tables. shadow tables.
default: 90 default: 90
NovaCronArchiveDeleteRowsTaskLog:
type: boolean
description: >
Archive task_log records while archiving the database
default: true
MemcacheUseAdvancedPool: MemcacheUseAdvancedPool:
type: boolean type: boolean
description: | description: |
@ -397,6 +402,7 @@ outputs:
nova::cron::archive_deleted_rows::purge: {get_param: NovaCronArchiveDeleteRowsPurge} nova::cron::archive_deleted_rows::purge: {get_param: NovaCronArchiveDeleteRowsPurge}
nova::cron::archive_deleted_rows::all_cells: {get_param: NovaCronArchiveDeleteAllCells} nova::cron::archive_deleted_rows::all_cells: {get_param: NovaCronArchiveDeleteAllCells}
nova::cron::archive_deleted_rows::age: {get_param: NovaCronArchiveDeleteRowsAge} nova::cron::archive_deleted_rows::age: {get_param: NovaCronArchiveDeleteRowsAge}
nova::cron::archive_deleted_rows::task_log: {get_param: NovaCronArchiveDeleteRowsTaskLog}
- if: - if:
- nova_workers_set - nova_workers_set
- nova::api::osapi_compute_workers: {get_param: NovaWorkers} - nova::api::osapi_compute_workers: {get_param: NovaWorkers}

View File

@ -0,0 +1,6 @@
---
features:
- |
Adds new NovaCronArchiveDeleteRowsTaskLog parameter which controls to
also archive task_log records while archiving the database. Defaults to
true.