standby test and fix some bugs

Because they are no longer used.
It will add peers when syncing the log with the leader if join the cluster again, so this is correct.