-
Notifications
You must be signed in to change notification settings - Fork 87
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
fix Oracle query limit compliance #1804
Conversation
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.
Thanks for the contribution! I think it would be better to add the chunking directly in getFoldersForGroups()
instead of implementing it in multiple places. And a comment with the reason for the chunking would be nice.
You can have a look at nextcloud/server#27187 or nextcloud/mail#4947 for other places where this was fixed. I also opened an issue (#1805) to check any other queries that might hit the limitations. |
b9bd480
to
4b9941c
Compare
HI @fschrempf do you mean like that? To be honest i did not had the possibility to validate the fix like that... |
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.
The code looks good to me. If you could add the comment I was asking for and squash the two commits into a single one, I think we are good to go.
And we nee to find out why the unit tests fail. Might not be related to this PR, I haven't checked. Maybe rebasing already does the trick. |
6e3479e
to
bf29cb9
Compare
@fschrempf should be good |
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.
Code looks fine, let's wait for the tests results
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.
Tests are still failing and it seems to be directly related to this PR
4e53454
to
ee1c234
Compare
@CarlSchwan thank you for your feed-back. I did not manage to get the Tests running locally so i was not able to check it beforehand... |
Signed-off-by: Tobias Knipping <[email protected]>
5a9c68a
to
57cf151
Compare
@CarlSchwan since tests are running now, i sqashed the commits again. Let me know if anything is missing |
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
/backport to stable23 |
/backport to stable22 |
/backport to stable21 |
these changes fixed the Problems with #1702 for me