From ac8729ac87ced81c959d4aa482e2c3f02661eace Mon Sep 17 00:00:00 2001 From: Alexey Stupnikov Date: Wed, 15 May 2024 17:13:43 +0200 Subject: [PATCH] [doc] Improve description for nova-manage db purge --before argument is currently described in ambiguous way: it is not actually used to filter entries ARCHIVED before specified date. Instead, it compares provided data with "deleted_at" value for most rows and "updated_at" or "created_at" for remaining ones. Since we already talk about time of deletion when describing --before argument of "nova-manage db archive_deleted_rows" rows, it make sense to not provide extra details here as well. Change-Id: Ib5940e88a52dc8d32303e27237e567c3481fc3dc --- doc/source/cli/nova-manage.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/cli/nova-manage.rst b/doc/source/cli/nova-manage.rst index 94022b1c80..8c406e6645 100644 --- a/doc/source/cli/nova-manage.rst +++ b/doc/source/cli/nova-manage.rst @@ -347,11 +347,11 @@ database connection information must be configured. .. option:: --before - Delete data that was archived before ````. Accepts date strings - in the default format output by the ``date`` command, as well as - ``YYYY-MM-DD[HH:mm:ss]``. For example:: + Delete archived rows that were deleted from Nova before ````. + Accepts date strings in the default format output by the ``date`` + command, as well as ``YYYY-MM-DD[HH:mm:ss]``. For example:: - # Purge shadow table rows older than a specific date + # Purge shadow table rows deleted before specified date nova-manage db purge --before 2015-10-21 # or nova-manage db purge --before "Oct 21 2015"