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

Check for connectivity on startup #163

Open
surister opened this issue Jul 17, 2024 · 2 comments
Open

Check for connectivity on startup #163

surister opened this issue Jul 17, 2024 · 2 comments
Labels
enhancement go Pull requests that update Go code

Comments

@surister
Copy link

Would it make sense to issue an SELECT 1 on startup and check if connectivity to CrateDB is possible with the given configuration? I'd say it would be helpful for users to get a clear 'Cannot connect to CrateDB', rather than some timeout error

wdyt @amotl ?

@amotl
Copy link
Member

amotl commented Jul 18, 2024

If that would help, sure. I don't see any immediate downsides of this, and it would improve usability. When there are no objections by others, could you add that improvement?

/cc @WalBeh, @proddata, @hlcianfagna, @hammerhead, @matriv, @widmogrod

@matriv
Copy link

matriv commented Jul 18, 2024

Yep, I think it's good idea!

@surister surister added enhancement go Pull requests that update Go code labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement go Pull requests that update Go code
Projects
None yet
Development

No branches or pull requests

3 participants