-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
Invalid return value on invalid query #1597
Comments
To show that this is actually relevant: we are also encountering this 'wrong value returned' problem in production under a different condition under some rare race condition we have yet to track down. Details about setup: we run postgresql 9.4/9.5, connect to it using latest pgbouncer in transaction pooling mode[1]. In some rare conditions, this same error occurs - the database returns In addition, we've linked the issue to another major one. Say we are upserting event We've managed to "beat" this by forcing all of our queries to take place [1] Session pooling mode nor connecting to pg directly inhibit this behavior. Neither of these are not suited for our needs where we need many short-lived connections from many more clients than a single database can handle while fielding work_mem-hungry long-lived reads as well. [2] Query is of form |
this looks very weird. have you tried the same using just plain old jdbc? What is the result there? |
Hi! I have same issue with postgres 9.4. I thought that cause in pgpool2, do you use it? |
There is no way the The only solution I can think of is to add a separate method to |
This was the symptom of a rather insidious bug at where I worked. Namely due to a race condition in pgbouncer query cancellation logic, occasionally the wrong query would get cancelled and the returned resultset would be empty and occasionally we'd get the wrong resultset back. pgbouncer/pgbouncer#141 This issue caused us to suspect slick for a while and is really surprising behavior imo. I don't have a clear idea on how to fix this though. |
Outputs
(Vector(0),false,true)
Relevant debug log:
Note how the result seemingly escapes the type system.
The text was updated successfully, but these errors were encountered: