Well, it would seem to be good dam design to have engineered outflow capability above any expected inflows.
Reservoir height management to be well modeled can help.
One of the major problems with the 3 gorges dam is the amount of silt it backs up and holds behind it every year. The more silt it holds back the shallower the reservoir and less water its containing, the higher and faster the water rises.
That dam is a marvel, but way too many questions about the quality of it have come to light to ever really trust it, especially on a fault zone like it is.
If that thing fails, China as we know it will stop existing the next day. No budget can withstand the repairs downriver caused by that thing catastrophically failing now.
Of course, maybe dam expert Gov. Gretchen Whitmer of Michigan suggested to the CCP “Don’t Worry, Be Happy”?