Mmuzaf commented on code in PR #3147:
URL: https://github.com/apache/cassandra/pull/3147#discussion_r1511765652


##########
src/java/org/apache/cassandra/dht/BootStrapper.java:
##########
@@ -59,6 +69,14 @@ public class BootStrapper extends 
ProgressEventNotifierSupport
     private final MovementMap movements;
     private final MovementMap strictMovements;
 
+    static

Review Comment:
   The metrics should only be registered once, when the class is inited. 
However, since it relies on the local counters, e.g. `bootstrapFilesTotal`, it 
is easier to register them as static variables. 



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