Split router and storage into modules and files
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 111
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Router and storage files are getting too huge. It is hard to unit test and extend. Even though still is surprisingly easy to read IMO. replicaset.lua, lua_gc.lua, error.lua files are good examples of isolated modules.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the oversized router and storage implementations and compare their structure with the isolated modules in replicaset.lua, lua_gc.lua, and error.lua. Identify coherent responsibilities that can become separate modules and files, then verify that the split preserves behavior and makes the router and storage components easier to unit test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- distributed-systems
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100