50265027502850295030503150325033503450355036
conn2.createStatement().execute("/* ping */ SELECT 1"); try{ conn2.setReadOnly(false); } catch (SQLException e) {} conn2.commit(); // take down both slaves: UnreliableSocketFactory.downHost("slave1"); UnreliableSocketFactory.downHost("slave2");