Migration chunk handling was broken. Add progress reporting support

This commit is contained in:
Ulf Wiger
2022-07-13 11:19:47 +02:00
parent 7fa3c2a58d
commit c4f7b7ac02
2 changed files with 152 additions and 37 deletions
+2 -1
View File
@@ -149,8 +149,9 @@ create_migrateable_db(Config) ->
Config.
fill_tabs(Tabs) ->
%% Fill with more than 300, since that's the currently hard-coded chunk size
lists:foreach(fun(Tab) ->
[mrdb:insert(Tab, {Tab, X, a}) || X <- lists:seq(1,3)]
[mrdb:insert(Tab, {Tab, X, a}) || X <- lists:seq(1,500)]
end, Tabs).
create_tabs(Tabs, Config) ->