HBASE-20476 Add more logs for debugging
This commit is contained in:
parent
96ed407c69
commit
39cf42be9a
|
@ -166,6 +166,7 @@ public class RegionStateStore {
|
|||
if (regionInfo.getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID &&
|
||||
hasGlobalReplicationScope(regionInfo.getTable())) {
|
||||
MetaTableAccessor.addReplicationBarrier(put, openSeqNum);
|
||||
info.append(", repBarrier=").append(openSeqNum);
|
||||
}
|
||||
info.append(", openSeqNum=").append(openSeqNum);
|
||||
info.append(", regionLocation=").append(regionLocation);
|
||||
|
|
|
@ -230,10 +230,13 @@ public abstract class ModifyPeerProcedure extends AbstractPeerProcedure<PeerModi
|
|||
ReplicationQueueStorage queueStorage = env.getReplicationPeerManager().getQueueStorage();
|
||||
Connection conn = env.getMasterServices().getConnection();
|
||||
if (!needSetLastPushedSequenceId(tsm, tableName)) {
|
||||
LOG.debug("Skip settting last pushed sequence id for {}", tableName);
|
||||
return;
|
||||
}
|
||||
for (Pair<String, Long> name2Barrier : MetaTableAccessor
|
||||
.getTableEncodedRegionNameAndLastBarrier(conn, tableName)) {
|
||||
// XXX: for debug only, change to trace after find out the real issues
|
||||
LOG.debug("Update last pushed sequence id for {}, {}", tableName, name2Barrier);
|
||||
addToMap(lastSeqIds, name2Barrier.getFirst(), name2Barrier.getSecond().longValue() - 1,
|
||||
queueStorage);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue