aio-libs / aio-libs/aiomysql

Insert not seen with manual commit

Aberta
#329 4 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
1.9k
Forks
272
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.