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

v1: Use TaskApplyCommand() instead of raft_fsm->apply() #68

Merged
merged 5 commits into from
Sep 22, 2023

Conversation

freeekanayaka
Copy link
Member

Enqueue tasks of type RAFT_APPLY_COMMAND instead of calling out the legacy raft_fsm->apply() interface.

This structures holds the parameters of a RAFT_APPLY_COMMAND task.

Signed-off-by: Free Ekanayaka <free@ekanayaka.io>
This helper is used to enqueue tasks of type RAFT_APPLY_COMMAND.

Signed-off-by: Free Ekanayaka <free@ekanayaka.io>
Signed-off-by: Free Ekanayaka <free@ekanayaka.io>
Enqueue tasks of type RAFT_APPLY_COMMAND instead of calling out the legacy
raft_fsm->apply() interface.

Signed-off-by: Free Ekanayaka <free@ekanayaka.io>
The code was just setting the task type.

Signed-off-by: Free Ekanayaka <free@ekanayaka.io>
@freeekanayaka freeekanayaka merged commit 749918f into cowsql:main Sep 22, 2023
3 checks passed
@freeekanayaka freeekanayaka deleted the task-apply-command branch September 22, 2023 14:13
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.

1 participant