JingGe edited a comment on pull request #19060: URL: https://github.com/apache/flink/pull/19060#issuecomment-1066524534
> I do not fully understand the fix. AFAIK the `InternalSinkWriterMetricGroup` delegates everything to the parent metric group so when updating something in the `SinkWriterMetricGroup` it should be immediately available also in the parent group. It is true. But just because the metric is initialized via the parent, does not means it can be accessed by the parent metric group. if you know any other way to do it except adding extra `@VisibleForTesting` method into `AbstractMetricGroup` which will break its current design, please let me know. -- 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]
