You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Paged Results search operation not properly cancelled #10526
While reviewing #7539 I found out that Paged Search is not properly canceled ("abandoned"), which leads to errors ("Protocol error" ) in subsequent LDAP queries causing not to return results from following queries.
Example: the repair method needs to go through every single users in order to be able to migrate the home storage id. Users in batches of 30 are fetched and anlyzed. With LDAP this works as long as the returned users are already mapped (=> got an owncloud-internal ID to avoid duplications). If users are not mapped, additional information is requested from LDAP. This interferes with the Paged Results mechanism, leading in the protocol error and return no more users.
The RFC defines a way to abandon a Paged Results operation, which need to be implemented. Alas, I worked on this already and did not have success so far. To be continued.
changed the title [-]Paged Results search operation not properly canceld [/-][+]Paged Results search operation not properly cancelled [/+]on Aug 19, 2014
If you have an operation that receives users in a loop and have a read operation inbetween, no more users will be fetched. I found it while testing and debugging repair steps functionality from Vincent.
Activity
[-]Paged Results search operation not properly canceld [/-][+]Paged Results search operation not properly cancelled [/+]blizzz commentedon Aug 19, 2014
Ha, got it!
properly cancel a Paginated Results operation in order to avoid proto…
craigpg commentedon Sep 17, 2014
@blizzz, what are the potential consequences of this behavior?
blizzz commentedon Sep 18, 2014
If you have an operation that receives users in a loop and have a read operation inbetween, no more users will be fetched. I found it while testing and debugging repair steps functionality from Vincent.
blizzz commentedon Sep 18, 2014
@craigpg we will also need it for #9225 resp. fixing #10513
properly cancel a Paginated Results operation in order to avoid proto…
Backport of #10527
Backport of #10527