**BUG REPORT** 1. Please describe the issue you observed: - What did you do (The steps to reproduce)? 1、创建一个SYNC_MASTER模式的集群 2、创建一个连接去连接同步端口,并往里面随机写一些数据 3、master节点会当做是slave上报的offset,并更新push2SlaveMaxOffset,导致后续写入消息可能未等到slave同步就已经返回producer 4、此时master宕机可能就会造成部分数据写master成功,但是还未由pageCache写入到磁盘,且未同步到slave而丢失 - What did you expect to see? 1、判断为不合适的offset,并断掉连接 - What did you see instead? master节点会当做是slave上报的offset,并更新push2SlaveMaxOffset,导致后续写入消息可能未等到slave同步就已经返回producer 2. Please tell us about your environment: 最新环境 3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):