Uh oh!
There was an error while loading. Please reload this page.
HBASE-25562 ReplicationSourceWALReader log and handle exception immediately without retrying - #2943
Conversation
Apache-HBase
commented
Feb 9, 2021
🎊 +1 overall
This message was automatically generated. |
wchevreuil
left a comment
There was a problem hiding this comment.
Yeah, no point in delay the EOF handling when _ eofAutoRecovery_ is on. Just a little remark on log verbosity when still retrying, maybe worth reduce log level to avoid flooding log with repetitive messages?
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Feb 9, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 9, 2021
🎊 +1 overall
This message was automatically generated. |
saintstack
left a comment
There was a problem hiding this comment.
LGTM other than @wchevreuil comment.
Uh oh!
There was an error while loading. Please reload this page.
Apache-HBase
commented
Feb 18, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 18, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 18, 2021
🎊 +1 overall
This message was automatically generated. |
| } catch (IOException e) { // stream related | ||
| if (!handleEofException(e)) { | ||
| LOG.error("Failed to read stream of replication entries", e); | ||
| } |
There was a problem hiding this comment.
The patch looks good to me too.
I had one non patch related question. Does it even make sense to sleep if we were able to handle eof exception successfully ?
There was a problem hiding this comment.
Nice question! We should skip sleep if the exception can be handled. I modified it.
Thanks for reviwing.
Apache-HBase
commented
Feb 19, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 19, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 19, 2021
🎊 +1 overall
This message was automatically generated. |
…iately without retrying
Apache-HBase
commented
Feb 19, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 19, 2021
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Feb 19, 2021
🎊 +1 overall
This message was automatically generated. |
…iately without retrying (#2943) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: stack <stack@apache.org> Signed-off-by: shahrs87
…iately without retrying (#2943) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: stack <stack@apache.org> Signed-off-by: shahrs87
…iately without retrying (apache#2943) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: stack <stack@apache.org> Signed-off-by: shahrs87
…iately without retrying (apache#2943) Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: stack <stack@apache.org> Signed-off-by: shahrs87
…iately without retrying