Skip to content

Refactor the implementation of the beforeImage and afterImage in the undo log #751

Open
@Code-Fight

Description

@Code-Fight

What would you like to be added:

  1. Abstract beforeImage and afterImage, define them as interfaces, and implement their capabilities for MySQL.
  2. Replace the definitions in the executor with the new implementations mentioned above.
  3. Deprecate the implementation in the undo/builder package.

Why is this needed:

  1. Currently, there are two separate implementations for constructing undo log images, located in the exec package and the undo/builder package.
  2. The implementation in the undo/builder package is not being utilized.
  3. To better support different types of databases in the future, the implementation within the executor needs to be redefined and abstracted.
image image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions