Script 'sync_replica.sh' is mentioned in the SDP Guide (Unix) but there is only limited, if any explanation on the purpose of this script.
If this is part of the SDP, it needs to be given at least some basic explanation; if not, consider removing the script from the SDP or move the functionality to another script and update the documentation for that script. https://swarm.workshop.perforce.com/projects/perforce-software-sdp/files/main/Server/Unix/p4/common/bin/sync_replica.sh