Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recurrent Input/Output error [BUG] #85

Open
ed1808 opened this issue May 9, 2024 · 1 comment
Open

Recurrent Input/Output error [BUG] #85

ed1808 opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ed1808
Copy link

ed1808 commented May 9, 2024

Describe the bug

When a table is selected or a query is executed or a table is modified.

This screenshot is when you modify a table and the error:

Captura de Pantalla 2024-05-09 a la(s) 8 32 31 a m

And this one is when you execute a query:

Captura de Pantalla 2024-05-09 a la(s) 8 37 57 a m

This is happening since the last update.

Platform and Database

macOS 12.7.4, MariaDB 5.5.68
@ed1808 ed1808 added the bug Something isn't working label May 9, 2024
@wyhaya
Copy link
Member

wyhaya commented May 9, 2024

Hi @ed1808, thank you for your feedback.

This is happening since the last update.

Before this, we were using a database connection pool (establishing multiple connections at the same time), we realized it had some issues, and we modified the database driver in the recent update.

Now only one TCP connection will be established to the server, when it disconnects, you may see the error 'connection closed', but it will silently reconnect in the background.

  • If the reconnection is successful, you just need to rerun the query.
  • If the reconnection fails, you will see a different error message.

For security reasons, SQL will not be actively executed after the connection is successful, you must rerun it.


This can indeed occur when the TCP connection is already closed, but I am not sure if this is a BUG, could you help me investigate?

  1. Does this happen frequently? Or does it occur after being idle for a while?
    If you run SQL after leaving Dataflare idle for a while, you will get a 'connection closed'. This is the expected result.
  2. Have you configured "wait_timeout", "interactive_timeout" or other settings on MariaDB that can actively disconnect?The server may have actively disconnected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants