tarantool / tarantool/tarantool
Recycle server id in _cluster table
Open
Nobody has claimed this yet.
feature
- Dominant language
- Lua
- Stars
- 3.7k
- Forks
- 419
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 88
Description
Extend _cluster table with information about the last use of server id, and when the system runs out of server id slots, recycle the slot of least recently used server.
Contributor guide
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 locating the _cluster table and the code responsible for allocating server-id slots. Determine how to record each server id's last use and define the behavior when all slots are occupied; done means the least recently used slot is recycled without breaking existing allocation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100