poorbarcode commented on code in PR #16758:
URL: https://github.com/apache/pulsar/pull/16758#discussion_r940550668


##########
pulsar-transaction/coordinator/src/main/java/org/apache/pulsar/transaction/coordinator/impl/TxnLogBufferedWriter.java:
##########
@@ -116,6 +116,16 @@
             AtomicReferenceFieldUpdater
                     .newUpdater(TxnLogBufferedWriter.class, 
TxnLogBufferedWriter.State.class, "state");
 
+    /** Metrics. **/
+    private final TxnLogBufferedWriterMetricsStats metricsStats;
+
+    public TxnLogBufferedWriter(ManagedLedger managedLedger, OrderedExecutor 
orderedExecutor, Timer timer,

Review Comment:
   yes, I will remove the if metrics != null statements in the next PRs.



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