Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

feat: define procedure interface #58

Merged
merged 3 commits into from
Sep 21, 2022
Merged

Conversation

chunshao90
Copy link
Contributor

@chunshao90 chunshao90 commented Sep 21, 2022

Which issue does this PR close?

Closes #

Rationale for this change

Procedure is used to describe how to execute a set of operations of the procedure.
All procedures like SwitchLeaderProcedure and MergeShardProcedure need to implement Procedure.

What changes are included in this PR?

Define Procedure interface.

Are there any user-facing changes?

No.

How does this change test

No.

@chunshao90 chunshao90 marked this pull request as ready for review September 21, 2022 08:18
server/coordinator/procedure/procedure.go Outdated Show resolved Hide resolved
server/coordinator/procedure/storage.go Show resolved Hide resolved
server/coordinator/procedure/storage.go Outdated Show resolved Hide resolved
server/coordinator/procedure/storage.go Show resolved Hide resolved
@chunshao90 chunshao90 merged commit fe0f52f into apache:main Sep 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants