public static boolean recoverWeight(ProviderInfo providerInfo, int weight) {
        providerInfo.setStatus(ProviderStatus.RECOVERING);
        providerInfo.setWeight(weight);
        return true;
    }
Recover weight of provider info

@param providerInfo ProviderInfo
@param weight       recovered weight
@return is recover success
fault/fault-tolerance/src/main/java/com/alipay/sofa/rpc/client/aft/ProviderInfoWeightManager.java