furaul

Results 6 issues of furaul

I am using skywalking in my application, that the skywalking is based on byte-buddy to enhance my classes. I have an application, its starting costs about 230 seconds, when I...

question

## 问题描述: application.properties与dubbo.xml配置的兼容性问题。 dubbo.xml中reference或者service配置会影响application.properties中的config-center配置读取。 ## 依赖版本: 基于dubbo-spring-boot-project 2.7.6 - 2.7.8 均存在该问题。 ## 重现步骤: 在application.properties中做配置中心相关配置,配置内容如下: ``` dubbo.config-center.address=localhost:80 apollo.meta=localhost:80 dubbo.config-center.protocol=apollo dubbo.config-center.namespace=arch.namespace dubbo.config-center.parameters.config.namespace=arch.namespace dubbo.config-center.parameters.config.group=arch.group dubbo.config-center.cluster=qa app.id=consumer-demo ``` 在dubbo.xml中配置ReferenceBean,配置内容如下: ``` ``` 在springboot启动类中引入xml配置。 ## 预期结果:...

com.xiaoju.automarket.elasticjobstarter.dynamic.service.JobService#monitorJobRegister 方法的实现里面有一行获取监听到节点的配置。 String config = new String((byte[])client.getData().forPath(data.getPath() + "/config")); 这一行直接去读取config节点。 看了下jobx的源码里面新任务注册的逻辑。 com.xiaoju.automarket.elastic.job.lite.internal.config.ConfigurationService#persist com.xiaoju.automarket.elastic.job.lite.internal.storage.JobNodeStorage#replaceJobNode com.xiaoju.automarket.elastic.job.reg.base.RegistryCenter#persist client.create().creatingParentsIfNeeded().withMode(CreateMode.PERSISTENT).forPath(key, value.getBytes(Charsets.UTF_8)); 创建/xxx/MyJob/config节点之前,会先创建/xxx/MyJob节点。 在极端情况下,/xxx/MyJob创建之后,/xxx/MyJob/config节点创建之前,监听逻辑读取config节点报错。 org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /xxx/MyJob/config curator里面的创建任务节点相关代码见 org.apache.curator.framework.imps.CreateBuilderImpl#pathInForeground 会根据org.apache.curator.framework.imps.CreateBuilderImpl#createParentsIfNeeded判断是否创建父节点,如果该值为true,会先创建父节点,再创建子节点。

## Issue Description Type: *bug report* ### Describe what happened (or what feature you want) 未到限流阈值,出现拦截请求。 限流预案配置 { "resource": "localLimitService", "limitApp": "default", "grade": 1, "count": 20, "strategy": 0, "controlBehavior": 0...

kind/question

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar. When i want to use dynamic modes, I cant find classes.jar in 1.8.x JRE on Mac os.

### Describe what this PR does / why we need it Fix sentinel-dashboard.log wrong path problems while user defined {csp.sentinel.log.dir}. ### Does this pull request fix one issue? https://github.com/alibaba/Sentinel/issues/3434 ###...