You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/12/24 13:26:11 UTC

[GitHub] [rocketmq] hzh0425 commented on issue #5663: Messages may be lost when SyncStateSet expand in extreme scenarios

hzh0425 commented on issue #5663:
URL: https://github.com/apache/rocketmq/issues/5663#issuecomment-1364530180

   > 这个问题发生在syncStateSet扩张时刻,本地的syncStateSet和远程syncStateSet不一致的时候,如何决定ack数保证消息不丢。
   > 按照这个要求, 不管是syncStateSet的收缩或者扩张,
   
   是的, 我的思路是同步数据时新增一个状态判断是否正在同步新的 SyncStateSet 给 Controller (IsSynchronizing syncstateset), 是的话取本地和远程的 Syncstateset 合集.
   
   另一种方案是直接 Hold 住写请求, 等 syncstateset 修改完之后再继续, 但是性能有影响 @ShannonDing 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org