Insert not seen with manual commit
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 1.9k
- Forks
- 272
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I have two servers A and B. B was doing an insert then con.commit() and A was not seeing any inserts unless I killed and restarted A. Selects from the mysql console were seeing the inserts. B was using a pool and adding autocommit=True to the pool creation and removing the manual commit solved the problem.
I don't have time to create a simple example for this right now.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.