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/04/21 09:04:49 UTC

[GitHub] [rocketmq] iamqq23ue commented on issue #2706: SEND_OK will still be returned when the storage is abnormal ,which may cause message loss

iamqq23ue commented on issue #2706:
URL: https://github.com/apache/rocketmq/issues/2706#issuecomment-823904603


   
   > 测试过,如果在运行过程中,将文件改为只读,是可以强刷的。启动前改为只读,会报异常。您是怎么测试的呀
   
   如果改文件权限的方式,确实可以写入。我估计是程序已经打开了文件,再改权限没用了。我模拟的是文件系统read only,一般是存储故障造成的。其实代码能看出来,try catch以后没处理,自然传给其他方法的结果还是成功的。
   


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

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