ArielGlenn has submitted this change and it was merged. Change subject: dumps: add separate directory creation stages for staged dumps ......................................................................
dumps: add separate directory creation stages for staged dumps Change-Id: I3f6d7d68f5811b3b82f0ea885554dcb0cb487abc --- M modules/snapshot/templates/dumpstages.erb 1 file changed, 6 insertions(+), 2 deletions(-) Approvals: ArielGlenn: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/snapshot/templates/dumpstages.erb b/modules/snapshot/templates/dumpstages.erb index 809dd36..ac049f9 100644 --- a/modules/snapshot/templates/dumpstages.erb +++ b/modules/snapshot/templates/dumpstages.erb @@ -1,7 +1,11 @@ # run these commands in order on the regular snapshot hosts # slots_used numcommands on_failure error_notify command -<% if @stagestype == 'normal' or @stagestype == 'partial' %> +<% if @stagestype == 'create_huge' %> +1 1 continue none <%= @stages['hugewikis']['firststage'] -%> --job createdirs --sleep 5 +<% end -%> + +<% if @stagestype == 'normal' or @stagestype == 'partial' or @stagestype == 'create' %> # mark the start of the run for all small, big wikis 8 1 continue none <%= @stages['smallwikis']['firststage'] -%> --job createdirs --sleep 5; <%= @stages['bigwikis']['firststage'] %> --job createdirs --sleep 5 @@ -44,7 +48,7 @@ <% if @stagestype == 'normal_huge' or @stagestype == 'partial_huge' %> # stubs first -27 1 continue none <%= @stages['hugewikis']['firststage'] -%> --job xmlstubsdump +27 1 continue none <%= @stages['hugewikis']['rest'] -%> --job xmlstubsdump # tables next so inconsistencies between stubs and tables aren't too huge 1 1 continue none <%= @stages['hugewikis']['rest'] -%> --job tables # recombine stubs for huge wikis -- To view, visit https://gerrit.wikimedia.org/r/263654 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3f6d7d68f5811b3b82f0ea885554dcb0cb487abc Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: ArielGlenn <[email protected]> Gerrit-Reviewer: ArielGlenn <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
