Some types of one-level searches can have worse performance on v4.8 onwards compared to v4.7.
Created attachment 14821 [details] Backport of fix for v4.9
Created attachment 14822 [details] Fix backport for v4.8
Karolin, Please select for 4.8 and 4.9. Tim, Please cherry-pick ldb 1.5.3 for Samba 4.10 and advise if there are any issues when the full CI comes back on the backports (I'm not expecting any trouble). Thanks!
Created attachment 14824 [details] Fix backport for v4.10
CI links: v4.8 in progress: https://gitlab.com/samba-team/devel/samba/pipelines/45995540 v4.9 passed: https://gitlab.com/samba-team/devel/samba/pipelines/45995548 v4.10: requires bug #13750 to be backport before CI will tell us anything useful. https://gitlab.com/samba-team/devel/samba/-/jobs/156235664
Hi Karolin, All the patches are reviewed and ready to deliver. I rebased 4.10 and confirmed it passes CI: https://gitlab.com/catalyst-samba/samba/pipelines/46462977 I can't get a clean gitlab CI run on v4.8 currently. But this is a problem with CI on 4.8 rather than my patch. A clean v4.8-stable branch also fails gitlab CI. I suspect the resources available to the shared CI runners has changed somewhat recently, and the failures are due to hitting swap issues.
Just a reminder that these need to be in 4.9.5 when it is released.
Comment on attachment 14821 [details] Backport of fix for v4.9 This doesn't apply any more, ldb-1.4.4 already exists in v4-9-test
Comment on attachment 14824 [details] Fix backport for v4.10 Pushed to autobuild-v4-10-test
Comment on attachment 14822 [details] Fix backport for v4.8 Pushed to autobuild-v4-8-test
Created attachment 14840 [details] Patches for v4-9-test This changes the version to 1.4.5
Comment on attachment 14840 [details] Patches for v4-9-test Pushed to autobuild-v4-9-test
Sorry for the extra hassle with the 4.9 patch Metze. I had never learnt the difference between the v4-9-stable and v4-9-test branches. I've added a explanation to the wiki now (so hopefully others don't make my same mistake). https://wiki.samba.org/index.php/Samba_Release_Planning#Release_Branch_Checkin_Procedure
Pushed to all branches. Closing out bug report. Thanks!