You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "jinggou (via GitHub)" <gi...@apache.org> on 2023/07/13 22:34:47 UTC
[GitHub] [phoenix] jinggou commented on a diff in pull request #1638: PHOENIX-6989 Expose server side metrics for DDL operations
jinggou commented on code in PR #1638:
URL: https://github.com/apache/phoenix/pull/1638#discussion_r1263108895
##########
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -3497,6 +3516,10 @@ public void addColumn(RpcController controller, final AddColumnRequest request,
request.getClientVersion(), parentTable, transformingNewTable, addingColumns);
if (result != null) {
done.run(MetaDataMutationResult.toProto(result));
+
+ metricsSource.incrementAlterAddColumnCount();
+ LOGGER.info("Column(s) added successfully, tableName: {}",
Review Comment:
I'm thinking about logging the names of added columns, but did not found where to get them.
--
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: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org