Recently, we run into one case with read replica, the replica region shows up as key in meta table (it is not supposed to happen, we are still working on why it showed up in the meta table).
However, hbck always reported the error about the primary region. Please see the error attached.
Traced the code, in the following line, it does not consider the case that replicaId in regionInfo could be non-default.
If it is changed to get replicaId from regionInfo, then hbck should be able to fix this by "-fixMeta".