liqian
liqian
A service registers multiple instances on consul through coding. Why can grpc only call the service configured in the configuration file.
通过k8s部署xxl-job 但是通过cron调用时调度机器ip感觉像是docker容器的ip 所以调度会失败。请问大佬们,这种情况要怎么解决呢?
查询出来结果之后,对查询出来的结果的字段进行了更新,结果在同一个事务中,对查询出来的结果的实体的某个值进行了更新值操作,导致再查询出来的结果就变成更新之后的值了,这个问题是为啥呢? private void updateStrategyConfig(Strategy strategy) { StrategyAndConfigAggregate aggregate = new StrategyAndConfigAggregate(); StrategyConfig strategyConfig = strategyConfigMapper.queryStrategyConfigDetail(13); strategyConfig.setParamValue("1111111"); StrategyConfig strategyConfig1 =strategyConfigMapper.queryStrategyConfigDetail(13); } 结果查询出来的strategyConfig1的paramValue的值就变为111111了。有出现过这个问题的大佬吗?