ldb one-level search performance issue

Stefan Metzmacher metze at samba.org
Mon May 28 16:44:48 UTC 2018


Am 28.05.2018 um 03:23 schrieb Andrew Bartlett via samba-technical:
> On Sat, 2018-05-26 at 15:43 +1200, Andrew Bartlett via samba-technical
> wrote:
>> On Sat, 2018-05-26 at 07:20 +1200, Andrew Bartlett via samba-technical
>> wrote:
>>>
>>> The string component stuff was a red herring (as it would not throw an
>>> error), but it hid this real issue:
>>>
>>> Checking 18862 objects
>>> ERROR: parent object not found for CN=kcc_BCDE3
>>>
>>> Patches to get that far are in 
>>>
>>> https://gitlab.com/catalyst-samba/samba/commits/abartlet-dbcheck-ideas
>>
>> With that branch, the real issue can be reproduced in just two tests
>> with:
>>
>> make test TESTS="kcc dbcheck --include-env=ad_dc_ntvfs"
>>
>> That should make it easier to see and sort out.
> 
> This seems to fix it.  Tests to follow, but this could explain a lot of
> things, perhaps even our replication failures in repl_move that I was
> trying to paper over with a unique prefix.

Please have a look at
https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master4-lmdb-full
for some reformatting, squashes and typo fixes.

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/20180528/b24f94f5/signature.sig>


More information about the samba-technical mailing list