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); } } }