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

Uncatched huge exceptions in case Cassandra down #214

Closed
safead opened this issue Jan 22, 2020 · 1 comment
Closed

Uncatched huge exceptions in case Cassandra down #214

safead opened this issue Jan 22, 2020 · 1 comment

Comments

@safead
Copy link

safead commented Jan 22, 2020

During hi load operations when cassandra got down, we got uncatched:

uncaughtException: Error during update query on DB -> NoHostAvailableError: All host(s) tried for query failed. First host tried, 192.168.58.132:9042: BusyConnectionError: All connections to host 192.168.58.132:9042 are busy, 2048 requests are in-flight on a single connection

with a huge additional log paths. All DB operations are in try {} catch{} blocks, but this error immediately terminates the node process without any possibility to catch it. Please assist

@masumsoft
Copy link
Owner

All errors are passed to the callback, hence handling errors in callbacks or promise catch block is expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants