kevinrr888 commented on PR #5364:
URL: https://github.com/apache/accumulo/pull/5364#issuecomment-2698838466

   Yeah, when I was working on this, I looked into the `TabletServer` run code, 
and that code appeared impossible for this exception to occur given the order 
in which things are executed. It looked like there were some other ways the 
same `CompactionExecutorsMetrics` code could be called, which I didn't dive too 
deep into but I thought that was maybe how you saw the exception. In the case 
of `TabletServer`:
   
   `metricsInfo.addMetricsProducers` is called first which initializes the 
`registry`
   `new CompactionManager` is called next which is how `queued` and `running` 
are initialized
   
   I did not realize metrics could somehow be disabled for this (or how that 
would be done) leading to `registry` to never be init.
   
   It's good this is not a larger problem.


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