[ 
https://issues.apache.org/jira/browse/PHOENIX-6589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442912#comment-17442912
 ] 

ASF GitHub Bot commented on PHOENIX-6589:
-----------------------------------------

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]


> Add metrics for schema registry export
> --------------------------------------
>
>                 Key: PHOENIX-6589
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6589
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>             Fix For: 4.17.0, 5.2.0
>
>
> PHOENIX-6227 added a step to DDL for tables and views where 
> CHANGE_DETECTION_ENABLED was true, where the table metadata would be exported 
> to a schema registry service. 
> We should have metrics around this export process so that operators can 
> monitor its health. Potential metrics include: 
> * CREATEs successfully exported
> * ALTERs successfully exported
> * Time taken for each request
> * CREATEs unsuccessfully exported
> * ALTERs unsuccessfully exported



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to