caddfa2 Ticket #47874 - Performance degradation with scope ONE after some load

Authored and Committed by nhosoi 9 years ago
    Ticket #47874 - Performance degradation with scope ONE after some load
    
    Bug Description: Backend has a bit to indicate "should not bypass
    the filter test".  It's set if one of the search results is ALLID
    in idl_intersection.  Once the flag is set, it's never been unset.
    It makes the following one level searches slow down.
    
    Fix Description: Introduced slapi_be_unset_flag and unset the bit
    at the end of every search.
    
    https://fedorahosted.org/389/ticket/47874
    
    Reviewed by rmeggins@redhat.com (Thank you, Rich!!)
    
    (cherry picked from commit 8e1345ab9276d1cf9c9ac2cbd858c398235ef5ce)
    (cherry picked from commit 3ff6d520ae0a15f74dc57122837627b5b73de629)
    
        
file modified
+8 -3