Description
This is an extension to HBASE-8207. It seems that there is no check for the peer id string (which is the short name for the replication peer) format. So in case a peer id containing "-", it will cause data loss silently on server failure.
I did not verify the claim via testing though, this is just purely from reading the code.