tarantool / tarantool/vshard

Split router and storage into modules and files

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

Nobody has claimed this yet.

refactoring teamS
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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.