-
Notifications
You must be signed in to change notification settings - Fork 184
Updated rows from batch should not be aggregated #440
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
Comments
This is a known limitation introduced with #401. The root cause is a weird behavior of the |
I think I should have provided an issue to Reactor project, but I forgot. Reproducer is here. |
Paging @simonbasle @OlegDokuka to sort out the Note that Reactor 3.3 can reproduce the issue while 3.4.9 seems fixed. |
We have done a couple of improvements in the few recent releases of 3.4.x, but we can see if those couled be back ported if these is critical for 3.3.x users |
That would be good to have it in 3.3.x as a few features are blocked by this issue. |
@mp911de do we still need to backport the changes in |
Yes, the backport is needed, i filed reactor/reactor-core#2783. |
For the time being, I added a reflective guard to check when the driver is being used with Reactor 3.4, that we use |
Can you please try the same with reactor 3.3.19+. I just realized that we have them backported in exactly this version. 3.3.17 does not have them yet |
Thanks a lot. For some reason, we were stuck at Reactor 3.3.17. Reactor 3.3.20 no longer reproduces the issue. |
Bug Report
Versions
Current Behavior
When running a batch with more than N statements, I would expect the driver to continue producing N update counts. However, it seems the driver now aggregates the update counts and produces only a single value.
Table schema
Steps to reproduce
The output is
[3]
Expected behavior/code
The expected output is
[2, 1]
(or[1, 2]
if the sequence order cannot be maintained)Additional context
Would be good to add expectations in the TCK for this behaviour to document it for other drivers:
https://github.com/r2dbc/r2dbc-spi/blob/47e25176a1e94736c004d20cd04315b463ddc289/r2dbc-spi-test/src/main/java/io/r2dbc/spi/test/TestKit.java#L292-L308
The text was updated successfully, but these errors were encountered: