ldb one-level search performance issue

Stefan Metzmacher metze at samba.org
Fri May 25 04:25:51 UTC 2018


Am 23.05.2018 um 20:55 schrieb Andrew Bartlett via samba-technical:
> On Wed, 2018-05-23 at 12:43 +0200, Stefan Metzmacher wrote:
>> Hi Andrew,
>>
>>> I've uploaded the patches with tests to
>>> https://gitlab.com/catalyst-samba/samba/commits/tim-ldb-fix
>>>
>>> and the CI is here:
>>>
>>> https://gitlab.com/catalyst-samba/samba/pipelines/22482561
>>>
>>> If that passes, please review and push so we can then do the release
>>> (after the python build fix).
>>
>> "ldb: Add tests for when we should expect a full scan" fails
>> "autobuild-private ldb"
>>
>> metze
> 
> Thanks!
> 
> I see two lessons here:
> 
> - This is a great example of why pre-submission CI is really important,
> so we don't waste time on bung patches
> - Doing patches in the rush out the door before dinner with the family
> never ends well.  The family dinner is more important than the patch,
> which will always need rework in the morning anyway :-)
> 
> https://gitlab.com/catalyst-samba/samba/pipelines/22531454
> 
> (Also already passing a local make test on ldb). 
> 
> If this one passes, please review and push!

I tried, but it seems to consistently fail with:

[851(6535)/853 at 2h13m26s]
samba4.blackbox.dbcheck(ad_dc_ntvfs)(ad_dc_ntvfs:local)
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "server schannel" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "server schannel" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "server schannel" option is deprecated
UNEXPECTED(failure):
samba4.blackbox.dbcheck(ad_dc_ntvfs).dbcheck(ad_dc_ntvfs:local)
REASON: Exception: Exception: WARNING: The "lsa over netlogon" option is
deprecated
WARNING: The "server schannel" option is deprecated
Checking 18786 objects
NOTE: old (due to rename or delete) DN string component for
defaultObjectCategory in object
CN=DrsReplSchema-1527199312-1-cls-B-NEW,CN=Schema,CN=Configuration,DC
=samba,DC=example,DC=com -
<GUID=2051e2f9-6b4b-47d1-b146-4b8d7aedf49d>;CN=DrsReplSchema-1527199312-1-cls-B,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for
defaultObjectCategory in object
CN=DrsReplSchema-1527199258-1-cls-B-NEW,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com
-
<GUID=a51123b6-e0e1-4158-8380-750fe6e932a9>;CN=DrsReplSchema-1527199258-1-cls-B,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for
defaultObjectCategory in object
CN=schemaInfo-Class-1527195402-NEW,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com
-
<GUID=3b1c4278-32a5-4d51-923e-6087bd92ed68>;CN=schemaInfo-Class-1527195402,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com
Not fixing old string component
NOTE: old (due to rename or delete) DN string component for
lastKnownParent in object CN=Servers
command: PYTHON=python
/memdisk/metze/W/b3347753/samba/testprogs/blackbox/dbcheck.sh
$PREFIX/provision --configfile=$SMB_CONF_PATH 2>&1  |
/memdisk/metze/W/b3347753/samba/selftest/filter-subunit --fail-on-empty
--prefix="samba4.blackbox.dbcheck(ad_dc_ntvfs)."
--suffix="(ad_dc_ntvfs:local)"
expanded command: PYTHON=python
/memdisk/metze/W/b3347753/samba/testprogs/blackbox/dbcheck.sh
./bin/ab/provision
--configfile=/memdisk/metze/W/b3347753/samba/bin/ab/ad_dc_ntvfs/etc/smb.conf
2>&1  | /memdisk/metze/W/b3347753/samba/selftest/filter-subunit
--fail-on-empty --prefix="samba4.blackbox.dbcheck(ad_dc_ntvfs)."
--suffix="(ad_dc_ntvfs:local)"
ERROR: Testsuite[samba4.blackbox.dbcheck(ad_dc_ntvfs)(ad_dc_ntvfs:local)]
REASON: Exit code was 1

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180525/a8e28334/signature.sig>


More information about the samba-technical mailing list