You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/04/21 13:24:26 UTC

[GitHub] [shardingsphere-elasticjob] Fdemo123 opened a new issue #1876: 任务执行后重启服务增加tracing功能不生效

Fdemo123 opened a new issue #1876:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1876


   ## Bug Report
   
   任务执行后重启服务增加tracing功能不生效,反过来也一样
   源码中这段代码一直获取到的都是旧值
   public JobConfiguration load(final boolean fromCache) {
           String result;
           if (fromCache) {
               result = jobNodeStorage.getJobNodeData(ConfigurationNode.ROOT);
               if (null == result) {
                   result = jobNodeStorage.getJobNodeDataDirectly(ConfigurationNode.ROOT);
               }
           } else {
              result = jobNodeStorage.getJobNodeDataDirectly(ConfigurationNode.ROOT);
           }
           return YamlEngine.unmarshal(result, JobConfigurationPOJO.class).toJobConfiguration();
       }


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1876: 任务执行后重启服务增加tracing功能不生效

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1876:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1876#issuecomment-826743795


   **For English only**
   You may set `overwrite` to `true` to overwrite the configurations in Zookeeper.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN closed issue #1876: 任务执行后重启服务增加tracing功能不生效

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #1876:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1876


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org