- Stop the replication
- Replace the schema.xml for the Master with your new version
- Stop and restart the Master so it knows about the new schema
- Rebuild the Master index with the new schema.xml
- Careful - the normal script that does this rebuild restarts the replication at the end. I need to fix this since it only takes a few seconds to replicate.
- The cron job runs the rebuild without the no-replication flag set, so run it from the command line:
bash$ php virtual_library_rebuild2.php test no-replication
or
bash$ php virtual_library_rebuild2.php production no-replication
- Test the Master to see if the new schema.xml is working as expected. Go back to step 2 if necessary.
- Start up the replication again
- Replication will copy the new schema.xml to the slave
- I *think* it's not necessary to stop/start the slave since the new indexes get copied by replication