You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2022/01/26 08:52:39 UTC
[GitHub] [hbase] sunhelly commented on pull request #4038: HBASE-26552 Introduce retry to logroller when encounters IOException
sunhelly commented on pull request #4038:
URL: https://github.com/apache/hbase/pull/4038#issuecomment-1021988748
Sorry for the late reply, @Apache9 .
Yes, there is configurable retry when creating new writer for the WAL in FanOutOneBlockAsyncDFSOutputHelper#createOutput, it supports retry to addBlock by setting this config "hbase.fs.async.create.retries".
But the initialization of new WAL writer will complete until the WAL header is flushed by calling AsyncProtobufLogWriter#writeMagicAndWALHeader in AbstractProtobufLogWriter#init, which will also fail when there are some hardware errors. We have met this issue in our production clusters, which caused the regionserver abort by "IOE in log roller". So I think a retry here can help avoid some aborts.
--
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: issues-unsubscribe@hbase.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org