-
Notifications
You must be signed in to change notification settings - Fork 195
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
PreparedStatement bicommand scheduling on pool are not scheduled on the same connection #590
Comments
Merged
did you work on this issue @BillyYccc ? |
not yet, but I hope we can settle this in 3.9.1
Julien Viet <notifications@github.com> 于 2020年5月11日周一 18:44写道:
… did you work on this issue @BillyYccc <https://github.com/BillyYccc> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#590 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJV4JORA467D76J3C46N2TRQ7JJVANCNFSM4MHARZBQ>
.
|
Any chance by tomorrow ?
… On 11 May 2020, at 12:50, Billy Yuan ***@***.***> wrote:
not yet, but I hope we can settle this in 3.9.1
Julien Viet ***@***.***> 于 2020年5月11日周一 18:44写道:
> did you work on this issue @BillyYccc <https://github.com/BillyYccc> ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#590 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABJV4JORA467D76J3C46N2TRQ7JJVANCNFSM4MHARZBQ>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#590 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABXDCTXYHVTJ6BOMBQNM53RQ7J6RANCNFSM4MHARZBQ>.
|
I'll hava a try tonight
Julien Viet <notifications@github.com> 于 2020年5月11日周一 19:21写道:
… Any chance by tomorrow ?
> On 11 May 2020, at 12:50, Billy Yuan ***@***.***> wrote:
>
>
> not yet, but I hope we can settle this in 3.9.1
>
> Julien Viet ***@***.***> 于 2020年5月11日周一 18:44写道:
>
> > did you work on this issue @BillyYccc <https://github.com/BillyYccc> ?
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <
#590 (comment)
>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/ABJV4JORA467D76J3C46N2TRQ7JJVANCNFSM4MHARZBQ
>
> > .
> >
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub <
#590 (comment)>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AABXDCTXYHVTJ6BOMBQNM53RQ7J6RANCNFSM4MHARZBQ
>.
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#590 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJV4JKSLWKFF4CIRCD2KR3RQ7NTNANCNFSM4MHARZBQ>
.
|
I will handle this one @BillyYccc |
funny there is already such similar test in PgPoolTest |
the fix is easy, I'm almost done with it. I'll port the test to master as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
this should happen in
3.9
versionContext
We meet such exceptions when we use
SqlClient#preparedQuery
One-shot prepared statement executing will schedule a
PrepareStatementCommand
andExtendedQueryCommand
like thisvertx-sql-client/vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/SqlClientBase.java
Lines 100 to 116 in f449803
such two commands may be scheduled on the different connections acquired from the pool, we should make sure the BiCommand scheduling happen on the same session
Do you have a reproducer?
see https://groups.google.com/forum/?fromgroups#!topic/vertx/KAdcC_yNG8E
This also happens in https://travis-ci.org/github/eclipse-vertx/vertx-sql-client/jobs/674432633
A simple snippet of code could reproduce this
The text was updated successfully, but these errors were encountered: