[389-devel] Please review (take 2): [389 Project] #346: Slow ldapmodify operation time for large quantities of multi-valued attribute values
Noriko Hosoi
nhosoi at redhat.com
Fri Apr 18 00:48:27 UTC 2014
https://fedorahosted.org/389/ticket/346
https://fedorahosted.org/389/attachment/ticket/346/0001-Ticket-346-Slow-ldapmodify-operation-time-for-large-.4.patch
Thanks to Ludwig for his suggestions. I followed his advice and revised
the patch.
Description: slapi_entry_add_value is used to add values for sorting,
which did not pass the attribute syntax info and the fallback compare
algorithm was used. It sometimes different from the attribute syntax
based sorting and failed to find out an attribute. This patch passes
an attribute syntax info for sorting.
Plus, featuring slapi_berval_cmp for the fallback compare algorithm.
It is closer to the syntax based sorting.
More information about the 389-devel
mailing list