ry4nyu
ry4nyu
[有问题的代码](https://github.com/Meituan-Dianping/Leaf/blob/master/leaf-core/src/main/java/com/sankuai/inf/leaf/snowflake/SnowflakeZookeeperHolder.java) 88和89行代码有问题: ``` String[] nodeKey = newNode.split("-"); workerID = Integer.parseInt(nodeKey[1]); ``` 比如我的leaf.name为 user-server 执行以上代码,nodeKey[1]=server ,解析为数字失败,抛出异常。 应修改为: ``` String[] nodeKey = newNode.split("-"); workerId = Integer.parseInt(nodeKey[nodeKey.length - 1]); ``` 或者提示使用者,leaf.name不能有"-"
Fixes #485. ## Summary On Windows, the daemon flashes a black `git.exe` console window on every auto-sync. The cause is `execFileSync('git', …)` call sites in the daemon's code paths missing...
### 确认 - [x] 我的版本是最新版本, 我的版本号与 [version](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.baomidou%22%20AND%20a%3A%22mybatis-plus%22) 相同, 并且项目里无依赖冲突 - [x] 我已经在 [issue](https://github.com/baomidou/mybatis-plus/issues) 中搜索过, 确认问题没有被提出过 - [x] 我已经修改标题, 将标题中的 **描述** 替换为你的想法(不得删除 **描述** 前面的部分) ### 功能改进 #### 现象 项目里有 116 个...
### Summary The ~37 MB `zed-remote-server` archive is downloaded with a single HTTP GET that has no retry and no `Range`/resume. On any network that resets long-lived connections (China mainland,...
### Preflight Checklist - [x] I have searched the existing requests and this feature hasn't been requested yet - [x] This is a single feature request (not multiple features) ###...
### Description As Querydsl recommends the use of blaze-persistence after version 5.0.0, I integrated it. Some simple single-table queries worked fine, but when I tried to execute the following query,...