|
|
|
|
|
by nucleardog
1072 days ago
|
|
Autocommit being off took prod down for me. Hop in the test database, run some SQL, update a bazillion records, run some selects to verify, open the test app and verify there. All good! Someone else checks… LGTM. So I do the same thing in prod. Make changes, validate in the DB, looks good. Open the prod app… down. Requests are hanging. Our software is shit so I’m not surprised. I start frantically digging through trying to figure out where and why it’s hanging. Eventually chase it down to some lock wait timeouts in SQL. Start looking at the database… no queries seem to be running against the table in question. Eventually dig a little deeper and find… the call was coming from inside the house! The locks are held by my connection. Go hit “commit” in dbeaver and prod comes right back up. And that’s the boring story of the day I learned that dbeaver used transactions in prod connections by default. |
|