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
Fetch and buffer all entries from LDAP search #19002
Conversation
3aebd1a
to
13af8ac
Compare
13af8ac
to
82ea6b4
Compare
476ea01
to
7c65b43
Compare
7c65b43
to
8fde7a5
Compare
@LKozlowski this should be backported to all supported versions (9, 10, and 11) |
Are we going to also backport #18021 to all versions? If so then I'll wait for it as this PR changed a lot of the code & file structure so my changes can't be easily applied by cherry-picking. If not, I'll just backport it manually as my change wasn't that big anyway. Just don't want to make a mess if we're going to backport it. |
Fixes #17797.
Before it would throw an
Size Limit Exceeded
error when there were more search results than the search size limit.Now, it will make as many calls as needed to fetch all the results without throwing an error.
In some cases, if there is a lot of entries, the search might slow down a bit as there will be more requests made to fetch all entries.