core
core copied to clipboard
Reindex is not working when you manually update the number of replicas
When set the property AUTOWIREMANAGEES_REPLICAS=false and run a reindex, the reindexation process is not completed and there’s no errors in the logs.
Steps to reproduce:
- Modify the file dotcms-config-cluster.properties located in .../tomcat8/webapps/ROOT/WEB-INF/classes
- Uncomment and set AUTOWIREMANAGEES_REPLICAS=false
- Save the file
- Startup dotcms instance
- Login to dotcms
- Navigate to System> Maintenance> Index
- Right Click over the existing indexes and click Update Number of Replicas on each index (i.e.: number of replicas = 2)
- Click Reindex button
- Result: the reindexation process is not completed and there’s no errors in the logs
Tested locally in: master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox
Check if this works in 3.5 and it is a problem caused by 3.6 changes
Passed QA. Reindexation process is completed and number of replicas is now updated accordingly. Transactions are logged in dotcms.log

master-3.6 // Win7 Pro SP1 // SQLServer 2012 // Chrome master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox v45.0.1