🐛 Fixing a bug. #1831 默认发号器跳号问题(除了第一个区间能取完所有值,其他的区间只能取到第一个值)

This commit is contained in:
Pzer committed 2020-09-18 10:51:12 +08:00
1 parent 2bf2c2c3e4
commit dd6b0e8225
1 file changed
+1
@@ -72,6 +72,7 @@ public class DefaultRangeSequence implements RangeSequence {
for (;;) {
if (currentRange.isOver()) {
currentRange = seqRangeMgr.nextRange(name);
seqRangeMap.put(name,currentRange);
}
value = currentRange.getAndIncrement();