wujiuye
wujiuye
我想你对滑动窗口有误解,其次,也不存在你说的存在一个格子的误差,也不是限流场景就允许存在误差。
每个bucket都有起始时间、结束时间,复用的bucket会重置
但凡你把代码看一遍,测一遍,都不会有这些问题吧
This can be reproduced: ``` public class JavaSimpleJob implements SimpleJob { private final FooRepository fooRepository = FooRepositoryFactory.getFooRepository(); @Override public void execute(final ShardingContext shardingContext) { if (shardingContext.getShardingItem() == System.currentTimeMillis()%shardingContext.getShardingTotalCount()) { throw...
> * Would you like to file a PR on this? "Yes, I can submit a PR for this."
The issue has been open for a long time, and after reviewing the code, I found that a PR was already submitted to address this issue a while ago. PR:[https://github.com/apache/shardingsphere-elasticjob/pull/2021](url)
你好,可以描述得全面一点吗? 或者在list方法的return这一行下断点,看下调用栈,截个图。
因为一些原因,后面的章节暂时不会发。 可以去搜索电子书《Java虚拟机字节码从入门到实战》看后面几章
Is there a plan to fix this bug?
> The reason of "the object has been modified" may be k8sClient got outdated Configuration in controller's cache. That is to say, someone update the object but somehow the controller...