briaugenreich commented on code in PR #4347:
URL: https://github.com/apache/hbase/pull/4347#discussion_r857724019


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceShipper.java:
##########
@@ -230,8 +230,10 @@ private void shipEdits(WALEntryBatch entryBatch) {
         }
         break;
       } catch (Exception ex) {
+        source.getSourceMetrics().incrementFailedBatches();
         LOG.warn("{} threw unknown exception:",
           source.getReplicationEndpoint().getClass().getName(), ex);
+        source.getSourceMetrics().incrementFailedBatches();

Review Comment:
   Remove duplicate from cherry-pick 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to