dcapwell commented on code in PR #3174:
URL: https://github.com/apache/cassandra/pull/3174#discussion_r1548594230


##########
src/java/org/apache/cassandra/service/accord/repair/AccordRepair.java:
##########
@@ -150,20 +165,18 @@ private void repairRange(TokenRange range) throws 
Throwable
             }
             catch (RuntimeException e)
             {
-                // TODO Placeholder for dependency limit overflow
-//                dependencyOverflow = true;
-                cfs.metric.rangeMigrationDependencyLimitFailures.mark();
+                cfs.metric.accordRepairUnexpectedFailures.mark();
                 throw e;
             }
             catch (Throwable t)
             {
-                // unexpected error
-                cfs.metric.rangeMigrationUnexpectedFailures.mark();
+                cfs.metric.accordRepairUnexpectedFailures.mark();
                 throw new RuntimeException(t);
             }
             finally
             {
-                cfs.metric.rangeMigration.addNano(start);
+                long end = Clock.Global.nanoTime();

Review Comment:
   ```suggestion
                   long end = ctx.clock().nanoTime();
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to