spring-statemachine icon indicating copy to clipboard operation
spring-statemachine copied to clipboard

concurrent sendEvent error

Open Flying17 opened this issue 4 years ago • 1 comments

StateMachine<State, Event> stateMachine = builder.build(); stateMachine.start(); stateMachinePersist.restore(stateMachine, context); stateMachine.sendEvent(context);

hi, the same request concurrently run above code, get same status from StateMachinePersist read method and transit next state successfully. however, actually, only the first request can process successfully, how to resolve it?

Flying17 avatar Apr 24 '20 08:04 Flying17

@Flying17 Did you manage to solve this? I have the same problem now and looking for a solution.

sig-utpal avatar Feb 09 '22 11:02 sig-utpal