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

Re: (ITS#5840) bdb_online_index and shutdown



h.b.furuseth@usit.uio.no wrote:
> ando@sys-net.it writes:
>> - the index should be invalidated
>> - slapd, at the next manual startup, should complain about the need to 
>> run slapindex first.
> 
> If it knows enough to complain, why not restart the indexing task?

There should be an option in doing that.  In fact, I suspect running 
slapindex -q can be much more efficient than letting slapd index while 
serving without index.  Of course, slapd cannot serve while 
slapindex'ing, so I think human intervention is needed to determine 
what's most appropriate on a case by case basis.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------