SuperCarrys commented on issue #2217: URL: https://github.com/apache/shardingsphere-elasticjob/issues/2217#issuecomment-1543668865
升级3.x后 ,job会判断任务根节点下存储className是否和当前任务相同,明显此时是没有的, 但是代码里做了!=null的判断,但这里的originalJobClassName在任务节点存在时不可能为null,且方法开头已经做了任务节点是否存在的判断,所以这里判断!=null是没有意义的,要判断originalJobClassName是不为空,判断逻辑应为 if (StringUtils.isNotBlank(originalJobClassName) && !originalJobClassName.equals(newJobClassName)) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
