-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Spring]FixIllegalStateExceptionForDelete #38996
[Spring]FixIllegalStateExceptionForDelete #38996
Conversation
API change check API changes are not detected in this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/azp run java - spring - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
@xinlian12 thank you very much for addressing this issue. I have a follow up question. The statement
in the area that the fix was, is obtaining the partition key value from the instance of the domainType that was created a few lines above with this statement
This instance though since it was just instantiated won't have any value for partition key unless I am misunderstanding the approach. The same issue exists in
and use this partition key during |
Hi @edavedian - I think all we looking for from entityInfo is what is the partitionKey field, because it kind decides underlying we use bulk or not. Does this answer your question? if not can you elaborate a little bit more, I do not think I get the problems there, thanks |
@xinlian12 thank you very much for your reply. You are correct as far as
to try to extract the value of the partition key to be used during the query or delete operation. Isn't the value specified by Similar logic exists in
If the value of the partition key is used by Cosmos to execute the operation on that specific partition, what I am trying to convey is that the mechanism in which the value of this partition key is retrieved is inaccurate. Again, I may be misunderstanding the code but they way I read it is trying to obtain the value of the partition key in |
Hi @edavedian
so in your scenario If I understand correctly, the issue you pointed out is that in step one, it will be a cross partition query as no partitionKey value is being defined, whether we can support to accept a partitionKey value as well. I think it is a valid ask, please feel free to create a GitHub feature request and our team will evaluate it :) |
@xinlian12 Thank you very much. I will created a feature request. |
@xinlian12 I have submitted the feature request #39331 based on our conversation. |
Fix issue #38917
Fix: avoid using .block/.blockLast in our reactive pipeline - As documented here https://github.com/reactor/reactor-core/releases/tag/v3.2.0.M2.