[PATCH] Improve replication test speed by using immediate events

Andrew Bartlett abartlet at samba.org
Fri Jul 21 06:40:45 UTC 2017


On Fri, 2017-07-21 at 08:34 +0200, Stefan Metzmacher wrote:
> Hi Andrew,
> 
> > > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/faster-drs-krb5-ccache-p-im
> > 
> > We don't need to constantly call tevent_create_immediate(service),
> > we should do it only once on startup.
> > 
> > tevent_schedule_immediate() can be called again and again.
> > 
> > That way dreplsrv_pendingops_schedule_pull_now() don't
> > need to return WERROR, but void.
> 
> Please also create a bugreport so we can backport that to 4.7.

Thank you so much for the feedback and guidance!

I'll do as requested, and I've filed:
https://bugzilla.samba.org/show_bug.cgi?id=12921

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list