adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

4ef6e16 Ticket 47354 - Indexed search are logged with 'notes=U' in the access logs

4 files Authored by tbordaz 10 years ago, Committed by rmeggins 10 years ago,
    Ticket 47354 - Indexed search are logged with 'notes=U' in the access logs
    
    Bug Description:
    	In the access log, the flag "notes=U" is present to warn the customer that the provided filter contains not
    	indexed components. This flag is set independently of the fact that all entries of the database will be
    	evaluated against the filter. So it can not be used to determine if all the entries have been scanned.
    	Evaluated all entries is usually a performance hit for large database containing millions of entries.
    
    Fix Description:
    	The fix consist to introduce a new flag 'notes=A' at the top level (ldbm_back_search) only when the candidate
    	list is ALLID and all entries will be scanned.
    	The fix also contains the update of logconv.pl to take into account this change.
    
    https://fedorahosted.org/389/ticket/47354
    
    Reviewed by: Rich Megginson and Mark Reynolds (thanks to you !)
    
    Platforms tested: Fedora 17
    
    Flag Day: no
    
    Doc impact: no
    (cherry picked from commit f2b5a975c2268b6e99bf27b45a7380d295807d81)
    (cherry picked from commit 15c77ad6e757625cd8a57bb5cde5e8d697bf5b25)
    (cherry picked from commit fb1c15d8b89c632e0e45c885334d47b6bbb17730)
    
        
file modified
+179 -42
file modified
+2 -1