Implement utility for commonly used type parameter configurations (`LogEntry`, `FSM`...)

Open
#92 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

Start with the linked openraft example at examples/raft-kv-memstore-singlethreaded/src/lib.rs, around declare_raft_types, and identify the LogEntry and FSM configurations to consolidate. Compare the implementations in the other language runtimes before defining the utility; done means the refactoring preserves compatibility across those runtimes.

Written by the indexing model from the issue text.

Description

idea refactoring

Implementing utility methods like declare_raft_types from openraft can help simplify the code.

However, before proceeding with the refactoring, ensure compatibility with implementations in other language runtimes.

Dominant language
Rust
Stars
44
Forks
14
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lablup/raftify

All issues in lablup/raftify

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.