I'm trying to set up a master/slave configuration using JGroups. I've turned on full tracing for both master and slave. On the slave side, when updating an indexed entity, I get:
Code:
TRACE [http-9080-2] (JGroupsBackendQueueProcessor.java:63) run - Preparing 2 Lucene works to be sent to master node.
TRACE [http-9080-2] (JGroupsBackendQueueProcessor.java:73) run - Filtering: optimized Lucene works are not going to be sent to master node. There is 2 Lucene works after filtering.
TRACE [http-9080-2] (JGroupsBackendQueueProcessor.java:92) run - Lucene works have been sent from slave IWL65431O-17365 to master node.
TRACE [http-9080-2] (PostTransactionWorkQueueSynchronization.java:83) beforeCompletion - Processing Transaction's beforeCompletion() phase: org.hibernate.search.backend.impl.PostTransactionWorkQueueSynchronization@1fa2bd1
TRACE [http-9080-2] (PostTransactionWorkQueueSynchronization.java:78) beforeCompletion - Transaction's beforeCompletion() phase already been processed, ignoring: org.hibernate.search.backend.impl.PostTransactionWorkQueueSynchronization@1fa2bd1
TRACE [http-9080-2] (PostTransactionWorkQueueSynchronization.java:94) afterCompletion - Processing Transaction's afterCompletion() phase for org.hibernate.search.backend.impl.PostTransactionWorkQueueSynchronization@1fa2bd1. Performing work.
TRACE [http-9080-2] (BatchedQueueingProcessor.java:287) performWorks - Lucene WorkQueue to send to backend:
DeleteLuceneWork: org.csmc.mds.model.Physician#3990
AddLuceneWork: org.csmc.mds.model.Physician#3990
The master does display that it's joined the same jgroups cluster on startup. But after that, it just sits there and displays no trace about any incoming slave requests.
Master configuration:
Code:
hibernate.search.default.optimizer.operation_limit.max=1000
hibernate.search.default.optimizer.transaction_limit.max=100
hibernate.search.default.indexBase=/index/master
hibernate.search.default.refresh=300
hibernate.search.default.sourceBase=/index/master-copy
hibernate.search.default.directory_provider=org.hibernate.search.store.FSMasterDirectoryProvider
hibernate.search.worker.backend=jgroupsMaster
Slave configuration:
Code:
hibernate.search.default.optimizer.operation_limit.max=1000
hibernate.search.default.optimizer.transaction_limit.max=100
hibernate.search.default.indexBase=/index/slave
hibernate.search.default.refresh=300
hibernate.search.default.sourceBase=/index/master-copy
hibernate.search.default.directory_provider=org.hibernate.search.store.FSSlaveDirectoryProvider
hibernate.search.worker.backend=jgroupsSlave
I'm using Hibernate Search 3.2.1, Hibernate 3.5.6, and JGroups 2.9.0.GA.
Should I be using some other version of JGroups?
Thanks for any help.
Michael