If the master syncs a template, shuts down, and syncs the same template again, the slave will create the same template twice. Should be using the template id to compare and avoid creating a duplicate.
Only if the revision number is different, then is OK to store it, but also should be a revision in the slave.
If the master syncs a template, shuts down, and syncs the same template again, the slave will create the same template twice. Should be using the template id to compare and avoid creating a duplicate.
Only if the revision number is different, then is OK to store it, but also should be a revision in the slave.