Skip to content

Paged Results search operation not properly cancelled  #10526

Closed

Description

@blizzz

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.

Activity

  1. added this to the milestone on Aug 19, 2014
  2. self-assigned this
    on Aug 19, 2014
  3. changed the title [-]Paged Results search operation not properly canceld [/-] [+]Paged Results search operation not properly cancelled [/+] on Aug 19, 2014
  4. blizzz commented on Aug 19, 2014

    @blizzz
    ContributorAuthor

    Ha, got it!

  5. added a commit that references this issue on Aug 19, 2014
    ccb74e5
  6. modified the milestones: , on Sep 2, 2014
  7. modified the milestones: , 2014-sprint-03 on Sep 15, 2014
  8. craigpg commented on Sep 17, 2014

    @craigpg

    @blizzz, what are the potential consequences of this behavior?

  9. blizzz commented on Sep 18, 2014

    @blizzz
    ContributorAuthor

    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.

  10. blizzz commented on Sep 18, 2014

    @blizzz
    ContributorAuthor

    @craigpg we will also need it for #9225 resp. fixing #10513

  11. modified the milestones: , 2014-sprint-04 on Sep 29, 2014
  12. added a commit that references this issue on Sep 30, 2014
    9a63693
  13. added 2 commits that reference this issue on Oct 9, 2014
    f0c4347
    94d5f9e
  14. locked as resolved and limited conversation to collaborators on Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions