further codecleanup
unique_replica_id is now an AtomicLong