[Date Prev][Date Next]
Re: syncrepl's "retry" option
> Quanah Gibson-Mount wrote:
>> --On Tuesday, April 20, 2010 5:34 PM -0400 Ryan Steele
>> <firstname.lastname@example.org> wrote:
>>> The FAQ indicates that the 'retry' option should be a comma-separated
>>> list: http://www.openldap.org/faq/data/cache/1118.html
>>> However, all of the examples from the section on replication in the
>>> Guide seem to show them as being space-delimited values:
>>> Which is correct?
>> If you examine the source, you find:
>> slap_str2clist( &retry_list, val, " ,\t" );
>> i.e., it accepts a space, a comma, or a tab, as delimiters.
> Ah, thanks for clearing that up, Quanah. Gavin, should the documentation
> be updated to reflect this?
The docs only present the "," because that's the preferred way. The other
forms are supported mainly for historical reasons. You should stick with
the documentation. The tests should use the documented form.
> I checked several
> sources, but none seemed to definitively identify all of the acceptable
> delimiters. I'm happy to submit a patch for the
> Admin Guide, if you like?
A patch for the tests would be preferable.