Long wait for SetReadOnly to complete
shunki-fujita opened this issue · comments
Shunki commented
Describe the bug
SetReadOnly waits for a running DML.
Therefore, if it waits for a long time, deleteGracePeriodSeconds may be reached.
Lines 154 to 156 in c545ebb
Expected behavior
If SetReadOnly does not complete in a short time, give up and run KillConnections.
Shunki commented
The problem is that the switching is not completed within the PreStopSeconds time.
Solution will be considered separately.