public void resetRmtAddrErrCount(String remoteAddr) {
        forbiddenAddrMap.remove(remoteAddr);
        RemoteConErrStats rmtConErrStats =
                remoteAddrMap.get(remoteAddr);
        if (rmtConErrStats == null) {
            RemoteConErrStats newErrStatistic =
                    new RemoteConErrStats(linkStatsDurationMs, linkStatsMaxAllowedFailCount);
            rmtConErrStats = remoteAddrMap.putIfAbsent(remoteAddr, newErrStatistic);
            if (rmtConErrStats == null) {
                rmtConErrStats = newErrStatistic;
            }
        }
        rmtConErrStats.resetErrCount();
    }
Remove the remote address from forbidden address map

@param remoteAddr   the remote address need to removed
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corerpc/RpcServiceFactory.java