Bacterial infection of fly ovaries reduces egg production and induces local hemocyte activation.