From 00a0308d2a6736d9846da89557d35c66cb30ea0d Mon Sep 17 00:00:00 2001 From: Surya Seetharaman Date: Wed, 7 Mar 2018 21:49:53 +0100 Subject: [PATCH] Update the nova-manage db archive_deleted_rows description This patch adds the bit about removing the deleted rows from the instance_mappings and request_specs tables as well permanently so that the users are aware of this. Change-Id: I183cc9f80b3feec6789332860b5aeb7591b710df --- doc/source/cli/nova-manage.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/source/cli/nova-manage.rst b/doc/source/cli/nova-manage.rst index 0545d46f61..99bf850801 100644 --- a/doc/source/cli/nova-manage.rst +++ b/doc/source/cli/nova-manage.rst @@ -62,9 +62,11 @@ Nova Database ``nova-manage db archive_deleted_rows [--max_rows ] [--verbose] [--until-complete]`` - Move deleted rows from production tables to shadow tables. Specifying - --verbose will print the results of the archive operation for any tables - that were changed. Specifying --until-complete will make the command run + Move deleted rows from production tables to shadow tables. Note that the + corresponding rows in the instance_mappings and request_specs tables of the + API database are purged when instance records are archived. Specifying + --verbose will print the results of the archive operation for any tables that + were changed. Specifying --until-complete will make the command run continuously until all deleted rows are archived. Use the --max_rows option, which defaults to 1000, as a batch size for each iteration.