Skip to content

Commit

Permalink
feat: add PrepareRollback, RollingBack to procedure state (#142)
Browse files Browse the repository at this point in the history
* feat: add `CommitRollback`, `RollingBack` to procedure state

* refactor: rename to `PrepareRollback`
  • Loading branch information
WenyXu authored Apr 8, 2024
1 parent 1bd2398 commit c00c73b
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 55 deletions.
27 changes: 15 additions & 12 deletions c++/greptime/v1/meta/procedure.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion c++/greptime/v1/meta/procedure.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 40 additions & 31 deletions go/greptime/v1/meta/procedure.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 30 additions & 11 deletions java/src/main/java/greptime/v1/meta/Procedure.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions proto/greptime/v1/meta/procedure.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ enum ProcedureStatus {
Done = 1;
Retrying = 2;
Failed = 3;
PrepareRollback = 4;
RollingBack = 5;
}

message QueryProcedureRequest {
Expand Down

0 comments on commit c00c73b

Please sign in to comment.