-
Notifications
You must be signed in to change notification settings - Fork 591
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
jdbc sink stuck on jvm side #18372
Comments
The stuck can not be resolved automatically. The solution to it is to first run Nevertheless, we still need to figure out why the connection is stuck. |
Maybe related: pgjdbc/pgjdbc#194 |
I think so. The stack trace is similar to pgjdbc/pgjdbc#194 (comment). I am not very sure whether rewrite to Rust could improve the stability (#16745). cc @fuyufjh to take a look of the priority. |
I don't see user reporting issues related to stuck query in https://github.com/sfackler/rust-postgres/issues so I am optimistic about using rust to sink to PG can be more stable. The issue with java/jdbc is that it is difficult (even impossible) to timeout a query because |
Describe the bug
On a postgresql jdbc sink
log store read epoch does not increase for a long time
await-tree dump
jstack
The code that gets stuck
The
0
timeout is hard coded, so it's unlikely to add timeout with some config.Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
IMAGE: v1.10.1-patch-us-west-2-35-fix-serving-mapping
The text was updated successfully, but these errors were encountered: