Fixed replication synchronization after restart of server