tsgmq

Results 1 issues of tsgmq

### Your question 例如:DataConfirmStatusService.copy方法中,是对集合生成了新对象,但是value是引用类型,在snapshot的过程中如果还有LogEntry对引用类型做修改了,是不是会导致snapshot中包含了未来的信息。 假如 logIndex=1000的时候DataNode的值Map只有一个元素,但是snapshot的过程中又来了logIndex-1001的日志,应用到状态机中时将Map中添加了元素,导致最终snapshot的logIndex=1000,可是map内容却又2个元素了,这样在系统重启的时候,先从snapshot中恢复出来的logIndex=1000的包含了2条记录,然后应用1001的LogEntry后,第二条日志会被重复执行,请指点下是不是会存在这个问题 return new DataConfirmStatusService(new ConcurrentHashMap(expectNodes), new LinkedBlockingQueue(expectNodesOrders)); describe your question clearly ### Your scenes describe your use scenes (why need this feature) ### Your advice...