bxfjb commented on issue #8066:
URL: https://github.com/apache/rocketmq/issues/8066#issuecomment-2102529918

   > 当前分级存储对主备模式和 DLedger 的支持不够完善,非常欢迎你把他作为新的特性来贡献。从设计方案上来说,并不只是 schedule 
任务判断一下即可,metadata store 中元数据的同步,以及 broker container 模式下的截断等问题都是需要考虑和讨论的,从目前的 pr 
来看考虑不够完善。
   
   hello,最近在考虑 IndexFile 的主从同步问题,发现如果使用对象存储作为冷存,根据现有逻辑,如果发生切主,由于从节点无法获得未上传的 
IndexFile 中消息所指向的冷存中的消费位点,Sealed 与 Unsealed 部分的数据似乎会永久丢失掉,这个问题有什么解决思路吗
   
   目前可以想到的折中方案包括:将 DispatchRequest 攒批同步到从节点,从节点自行构建本地 
IndexFile,切为主节点后再做上传;但这个方案问题在于同步过程容易出现 gap,可以预见到切主过程中这段时间的消息将不能通过 IndexFile 查询到


-- 
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-unsubscr...@rocketmq.apache.org

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

Reply via email to