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/12 08:51:11 UTC

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

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

   这个场景仅会发生在允许自动降级时。A觉得B宕了,A自己又宕了,本身已经超越了 SLA 的要求(2副本下副本全挂)
   
   本质上这里只是个选可用性还是选一致性的问题。目前的设计为了保证可用性所以允许写,在 A 重启成功后也可以通过回发把分叉的数据送给 B,类似于 container 中的 escape bridge 设计。如果要保证数据一致性,把 syncStateSet 收缩移动到 alert controller 成功之后就可以了,这样的话消息就会发送失败了。


-- 
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