Hi Michael,
Quote:
Assuming I set the exclusive-lock flag off, does anyone foresee any issues? Has anyone done something similar? My main concern is what would happen if the master attempts to process a slave request while the mass-indexer is running.
You should run the massindexer on the master only, not on the slaves.
In any case the Massindexer was not meant to be used on a "live system", as the index is emptied at start and so clients might search on an empty index: the replacement with the new index is currently not atomical; you should use it for maintenance purposes.
Generally Hibernate Search should be able to keep the database and index always in sync, so this shouldn't be needed.. why are you needing to start it periodically?
Quote:
On a side-note, the mass-index step seems to experience deadlocks fairly frequently. I don't know if this is an issue with the c3p0 connection pool I'm using
you might deadlock if the connection pool is not big enough, as in some stages it might need more than N connections in parallel to continue; make sure to monitor your pool and either reduce the
number of thread, or enlarge the allowed maximum size of the pool.