[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5120) slapadd -q makes database logs unusable



ando@sys-net.it wrote:
> When slapadd'ing -q, existing database log files seem to become unusable.  If
> this is correct, as it seems to be, slapadd could refuse to start with -q if log
> files are present, or, for example, remove the logs if -qq.

I guess we could add that check. The docs already say that if an error occurs, 
the entire database will be unusable. As such, you should only use it for 
initially populating a database, not for adding to an existing one.
-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/