You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/07/08 14:06:06 UTC
[GitHub] [rocketmq] francisoliverlee edited a comment on issue #3129: MappedFile May cause message loss
francisoliverlee edited a comment on issue #3129:
URL: https://github.com/apache/rocketmq/issues/3129#issuecomment-876468270
i think so some message may lost casuse of power-off. messages can flush to disk synchronily by set
- message property: MessageConst.PROPERTY_WAIT_STORE_MSG_OK to true
- broker config : flushDiskType=FlushDiskType.SYNC_FLUSH
code here:
https://github.com/apache/rocketmq/blob/df1d93fc8859377b92ba87c6947911281656f355/store/src/main/java/org/apache/rocketmq/store/CommitLog.java#L957
POOR PERFORMANCE also
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org