From d9a795f119337611e0bdee506cab90e4f73d5691 Mon Sep 17 00:00:00 2001 From: MaoMaoandSnail <1969945265@qq.com> Date: Thu, 7 Nov 2024 10:00:20 +0800 Subject: [PATCH] optimize: delete unnecessary cached data --- .../seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java b/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java index 0def5110ecf..14b6fd368e1 100644 --- a/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java +++ b/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/repo/impl/StateMachineRepositoryImpl.java @@ -71,8 +71,6 @@ public StateMachine getStateMachineById(String stateMachineId) { stateMachine.setStartState(parsedStatMachine.getStartState()); stateMachine.getStates().putAll(parsedStatMachine.getStates()); item.setValue(stateMachine); - stateMachineMapById.put(stateMachine.getName() + "_" + stateMachine.getTenantId(), - item); } } }