[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7616) syncrepl enhancement: defer requests when refreshing
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7616) syncrepl enhancement: defer requests when refreshing
- From: hyc@symas.com
- Date: Wed, 5 Jun 2013 18:27:04 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Michael Ströder wrote:
> hyc@symas.com wrote:
>> I was considering returning LDAP_BUSY for this case, but it may make more
>> sense to return a REFERRAL to the provider instead. (Although again, if we
>> have two MMR servers pointed at each other starting at the same time, they
>> would just refer to each other and clients would get nowhere until one of them
>> finishes its refresh.)
>
> IMO referrals are harmful.
> Just returning LDAP_BUSY seems best to me because if reliable HA is really
> important for a deployment you have decent load-balancers in front of your
> LDAP server which should do a proper health-check.
Agreed.
> Just a question: Is this database-specific? Maybe only one of several DBs is
> in this initial syncrepl phase and access to others should simply work.
Overlays are db-specific.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/