gjacoby126 commented on a change in pull request #1347:
URL: https://github.com/apache/phoenix/pull/1347#discussion_r748531291
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
##########
@@ -571,6 +573,8 @@ public static PName newPName(byte[] keyBuffer, int
keyOffset, int keyLength) {
// before 4.15, so that we can rollback the upgrade to 4.15 if required
private boolean allowSplittableSystemCatalogRollback;
+ private MetricsMetadataSource metricsSource;
Review comment:
Is one necessary? In the other cases I was populating the variable in a
synchronized block with a null check, which I believe needs a volatile, but in
this case I'm just setting it from start() and not treating it as an explicit
singleton. (Do I need to?)
--
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]