Secondary (emergency) roof drains or scuppers are required according to IPC to prevent a rainwater build-up. See Section 1107 for yourself. It's very short and to the point.
Firstly, there is an explanation in the above-referenced section for where and why a secondary roof drainage system must be provided.