[Date Prev][Date Next]
Re: (ITS#5134) dbconfig vs. DB_CONFIG
<quote who="Howard Chu">
> Gavin Henry wrote:
>> <quote who="Howard Chu">
>>> email@example.com wrote:
>>>> I would say since dbconfig directives only work on a restart of slapd,
>>>> that if a DB_CONFIG is present, the DB_CONFIG should *always* take
>>>> precedence. If dbconfig changes could make a difference via
>>>> which they can't without a restart, then dbconfig stuff should
>>>> any DB_CONFIG.
>>> dbconfig behavior via cn=config is fully dynamic, and thus quite
>>> slapd.conf. Changes to dbconfig via cn=config take effect immediately
>>> completely rewrite the DB_CONFIG file.
>> Understood, but a restart would still be needed to make the db env
>> DB_CONFIG, right?
> NO. "Fully dynamic" and "take effect immediately" means exactly that. I
> did not
> say "the file is written immediately but there's no effect until the
> server is
> restarted." Immediate effect means immediate effect. Do we really have to
> everything twice or thrice here before people get it?
Ok, I get it. I didn't know the db env was reopened when needed with
cn=config. Now I do.
I'll make sure this is in the docs. I'll try to make it crystal clear!
P.S. What does thrice mean? ;-)