From b5c18012153b8933f0b44c3ee35ee55e7e5ccfa2 Mon Sep 17 00:00:00 2001 From: chengliefeng Date: Mon, 19 Aug 2024 23:09:44 +0800 Subject: [PATCH] optimize: report the tcc fence transaction isolation level (#6679) --- .../rm/tcc/interceptor/TccActionInterceptorHandler.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tcc/src/main/java/org/apache/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java b/tcc/src/main/java/org/apache/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java index 3df7fdcbe92..dc6a9d34248 100644 --- a/tcc/src/main/java/org/apache/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java +++ b/tcc/src/main/java/org/apache/seata/rm/tcc/interceptor/TccActionInterceptorHandler.java @@ -102,6 +102,12 @@ protected Object doInvoke(InvocationWrapper invocation) throws Throwable { return invocation.proceed(); } + /** + * Initializes the transaction annotation context + * @param method the method + * @param targetBean the target bean + * @param businessActionContext the business action context + */ private void initTransactionalAnnotationContext(Method method, Object targetBean, Map businessActionContext) { Transactional transactionalAnnotation = MethodUtils.getTransactionalAnnotationByMethod(method, targetBean); if (transactionalAnnotation != null) {