apache / apache/incubator-seata

Saga StateMachineRepository#getStateMachineById will replace the last version in cache

Open
#2,383 0 comments 0 reactions 1 assignee Claimed by @long187 View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

### Ⅰ. Issue Description
Saga StateMachineRepository#getStateMachineById will replace the last version in cache

### Ⅳ. How to reproduce it (as minimally and precisely as possible)
If the version 2 is the last version of statemachine in db:
1. Invoke StateMachineRepository#getStateMachineById, it returns version 1
2. Then invoke StateMachineRepository#getStateMachine, it also returns version 1. This method is used to get the last version of statemachine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.