sync_replica.sh #22