-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-26581 Add metrics for failed replication edits #4347
Conversation
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Im going to be working on fixing this spot bugs error and adding tests. |
Approved pending findbugs/spotbugs fix. The changes lgtm otherwise. @briaugenreich For this type of change a test is not essential. Not saying one would not be welcome, it would. |
...src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceShipper.java
Outdated
Show resolved
Hide resolved
...rver/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSink.java
Outdated
Show resolved
Hide resolved
…ches and source.failedBatches
36395d8
to
49f8f80
Compare
mss.incrFailedBatches(); | ||
} | ||
|
||
/** Get the count of the failed bathes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you fix the formatting here? (move "Get..." to next line)
...e-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSink.java
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Co-authored-by: Briana Augenreich <[email protected]> Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Bryan Beaudreault <[email protected]>
Co-authored-by: Briana Augenreich <[email protected]> Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Bryan Beaudreault <[email protected]>
Co-authored-by: Briana Augenreich <[email protected]> Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Bryan Beaudreault <[email protected]>
Co-authored-by: Briana Augenreich <[email protected]> Signed-off-by: Andrew Purtell <[email protected]> Signed-off-by: Bryan Beaudreault <[email protected]> (cherry picked from commit 282c1c2) Change-Id: Id032ba718c9593406749abecd185c674a533abe2
Create an explicit metric around source.failedBatches and sink.failedBatches, incremented whenever an exception is encountered