doc: fix online_data_migrations option in upgrades doc

There is no --limit option on the online_data_migrations
command, it's called --max-count.

This fixes that typo in the upgrades doc and also fixes
another grammar nit that was bugging me.

Change-Id: Ib76ced58314e025f617c1b4d964cd0c62d908a37
Related-Bug: #1670738
This commit is contained in:
Matt Riedemann 2017-09-01 12:17:18 -04:00
parent 0499b28051
commit 62a80f48a6

View File

@ -125,11 +125,11 @@ same time.
* This process can put significant extra write load on the
database. Complete all online data migrations using:
``nova-manage db online_data_migrations --limit <number>``. Note
that you can use the limit argument to reduce the load this
``nova-manage db online_data_migrations --max-count <number>``. Note
that you can use the ``--max-count`` argument to reduce the load this
operation will place on the database, which allows you to run a
small chunk of the migrations until all of the work is done. Each
time it is run, it will show summary of completed and remaining
time it is run, it will show a summary of completed and remaining
records. You run this command until you see completed and
remaining records as zeros. The chunk size you should use depend
on your infrastructure and how much additional load you can