apache / apache/incubator-seata
Saga状态机实例表为什么不用自增id作为主键?
Open
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description

请问下这两张表为什么不用自增id作为主键?
Contributor guide
Research direction
The issue only provides an image of two Saga state-machine tables and asks why they do not use an auto-incrementing primary key; no files, tests, or entry points are named. Start by locating the corresponding schema definitions and confirm the intended primary-key rationale with maintainers. Done would require a documented explanation or a clearly agreed schema change.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases, distributed-systems
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100