To answer your question though, unless the item someone ordered is unique and only stored in that warehouse, they will probably just mark the warehouse as down and the system will simply route around it and increase delivery estimates for the people who were served by that warehouse. They will probably redeploy the surviving trucks to nearby warehouses to handle the load.