aio-libs / aio-libs/aiomysql

Insert not seen with manual commit

Offen
#329 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.