Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add statemachine for dledger #128

Merged
merged 5 commits into from
Apr 14, 2022

Conversation

hzh0425
Copy link
Contributor

@hzh0425 hzh0425 commented Apr 10, 2022

What is the purpose of the change

Add a state machine for dledger, support apply, snapshotSave, snapshotLoad.
tracking issue: apache/rocketmq#4330

@vongosling
Copy link
Contributor

vongosling commented Apr 11, 2022

@hzh0425 Do you prepare for our 2022 summer program which is hosted by the Chinese Academy of Sciences? If not, I recommend you sign up. This is one of our topics this year.

@hzh0425
Copy link
Contributor Author

hzh0425 commented Apr 11, 2022

@vongosling I participated, I know there is another snapshot topic, but I will add the state machine first, so that another contributor can do this topic later. Maybe @RongtongJin can take a look, I am in close communication with him

@vongosling
Copy link
Contributor

Nice, Jin is one of our mentors.

@hzh0425
Copy link
Contributor Author

hzh0425 commented Apr 11, 2022

@vongosling yep, Actually, I'm on another topic, the mentor is Jin, but the topic need to add a state machine to the dledger first.

@@ -0,0 +1,7 @@
package io.openmessaging.storage.dledger.snapshot;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apache header needs to be added

@@ -0,0 +1,7 @@
package io.openmessaging.storage.dledger.snapshot;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apache header needs to be added

@@ -0,0 +1,46 @@
package io.openmessaging.storage.dledger.statemachine;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apache header needs to be added

@RongtongJin RongtongJin merged commit 4293093 into openmessaging:statemachine Apr 14, 2022
@RongtongJin
Copy link
Contributor

Merge to statemachine branch first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants