Bom dia, estamos com um problema na geração de senhas, quando o pessoal gera uma senha em 2 totens ao mesmo tempo surge o seguinte erro:
An exception occurred while executing 'INSERT INTO atendimentos (associado_id,
carteirizacao, nm_cartelra, num_local, dt_cheg, dt_cha, dt_inl, dt_fim, status, nm_cli,
ident_cli, sigla_senha, siglap, num_senha, num_senha_serv, ip_totem, unidade_id,
servico_id, prloridade_id, usuarlo_id, usuario_trl_id, atendimento_id) VALUES (7, 7, 7, 7, 7, 7, 7,
2, 2, 7, 7, 7, 2, 2, 7, 7, 7, ?, 7, 7, 7, 7)" with params [null, false, null, 0, "2024-01-11 09:13:54", null,
null, null, 1, null, null, "A, "*, 25, 20, "", "29", "1", 1, null, 10, null]: SQLSTATE[40001]: Serialization
faillure: 1213 Deadlock found when trying to get lock; try restarting transaction
Estamos usando o SGA 1.5 e o MySQL 8.0