Adding an ability to specify batches num for online migrations.
- By default migrations would use 50 chunks per round.
We can specify larger number to speed it up.
Prod-Related: PROD-33940
Change-Id: I3d2d3f4590b3a303be55ae76f8e3e701b24e4563
(cherry picked from commit b139f14434843b675ca710cede5bf76e31011414)
diff --git a/README.rst b/README.rst
index 9af0705..d1702ac 100644
--- a/README.rst
+++ b/README.rst
@@ -189,6 +189,18 @@
controller:
update_cells: true
+Increase number of chunks for online db migrations:
+
+.. note:: This only should be done in offline as large number of
+ rows locked by this process may cause service outage, which
+ may not be expected.
+
+.. code-block:: yaml
+
+ nova:
+ controller:
+ db_migrations:
+ max_count: 5000000
Configuring TLS communications
------------------------------