Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket #48192 - Individual abandoned simple paged results request has…
… no chance to be cleaned up Description: There was a small window that the search on the next page after the previous page abandoned referred the cleaned up simple paged object. This patch introduces a pagedresults_is_abandoned helper function to check the simple paged results was abandoned or not with some improvements based upon the comments by rmeggins@redhat.com (Thank you!!): 1) adding locking when getting a simplepaged object in pagedresults_is_ abandoned_or_notavailable as well as in pagedresults_{un}lock. 2) sending "Simple Paged Results Search abandoned" if the previous page with the same cookie in the same connection was abandoned. https://fedorahosted.org/389/ticket/48192 Reviewed by rmeggins@redhat.com (Thank you, Rich!!) (cherry picked from commit e4d83c9) (cherry picked from commit b513a50)
- Loading branch information
Showing
3 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters