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
Currently we take paged result search lock in the polling threads. If a PR search result is being sent back and gets blocked it will also block the polling thread.
This blocking can only happen with concurrent PR searches on the same connection (like what SSSD does).
The text was updated successfully, but these errors were encountered:
I do not think it is safe:
I am afraid that pnentries data can be freed if we do not own the lock
(If I remember rightly the paged search data removal is based on a timeout (that can fire while waiting on sent result))
I think that we will rather need to be more clever and generate a list of the message to send (instead of sending directly the data)
then release the lock
iterate on the list to send data
free the list
acquire back the lock
Issue Description
Currently we take paged result search lock in the polling threads. If a PR search result is being sent back and gets blocked it will also block the polling thread.
This blocking can only happen with concurrent PR searches on the same connection (like what SSSD does).
The text was updated successfully, but these errors were encountered: