beatenevo commented on code in PR #1180:
URL: 
https://github.com/apache/incubator-seata-go/pull/1180#discussion_r4031852522


##########
pkg/rm/tcc/fence/handler/tcc_fence_wrapper_handler.go:
##########
@@ -72,6 +80,11 @@ var (
        fenceHandler       *tccFenceWrapperHandler
        fenceOnce          sync.Once
        cleanIntervalNanos atomic.Int64
+
+       fenceLogCleanRetryExhaustedTotal = 
promauto.NewCounter(prometheus.CounterOpts{
+               Name: "tcc_fence_log_clean_retry_exhausted_total",
+               Help: "Number of TCC fence log identities removed from the 
in-memory retry cache after cleanup retries were exhausted; database rows 
remain eligible for a later scan.",
+       })

Review Comment:
   the TCC handler currently has no registry injection point, and adding one 
would expand this bug fix’s scope, so it should be addressed separately.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to