You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an event is sent to the restarted node, the ServerID is obtained before the reboot.
"iter" should be set to null after calling the add, remove, merge methods of ChoosableSet class.
io.vertx.spi.cluster.zookeeper.impl.ChoosableSet:
public void add(T elem) { ids.add(elem); iter = null; }
public void remove(T elem) { ids.remove(elem); iter = null; }
public void merge(ChoosableSet<T> toMerge) { ids.addAll(toMerge.ids); iter = null; }
The text was updated successfully, but these errors were encountered:
hedyn
changed the title
ChoosableSet.choose() 方法可能返回失效的注册信息
ChoosableSet.choose() may return invalid registration information
Aug 30, 2019
When an event is sent to the restarted node, the ServerID is obtained before the reboot.
"iter" should be set to null after calling the add, remove, merge methods of ChoosableSet class.
io.vertx.spi.cluster.zookeeper.impl.ChoosableSet:
public void add(T elem) {
ids.add(elem);
iter = null;
}
public void remove(T elem) {
ids.remove(elem);
iter = null;
}
public void merge(ChoosableSet<T> toMerge) {
ids.addAll(toMerge.ids);
iter = null;
}
The text was updated successfully, but these errors were encountered: