0 comments (0 comments)0 reactions (0 reactions)1 assignee (1 assignee)Java4,035 stars (4,035 stars)1,426 forks (1,426 forks)batch import
SQL reverthelp wanted
Description
- 事务异常时候,hmily会基于undo日志进行回滚
Contributor guide
- Tech stack
- javasql
- Domain
- backenddatabase
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 3-5 days
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- needs investigation
- Prerequisites
- Basic SQL understandingJavaDistributed transaction concepts
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 30
- Research direction
- Examine the current SQL parsing logic in the repository, particularly how undo logs are generated and used during rollback. Look at the transaction manager's rollback mechanism. Identify the classes responsible for parsing SQL and generating reverse SQL. The issue requires implementing a revert function that produces the opposite SQL statement and corresponding undo log entries. Start by understanding the existing undo log structure and how it is persisted.