tarantool / tarantool/tarantool

Recycle server id in _cluster table

Open
#1,267 4 comments 0 reactions 0 assignees View on GitHub

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

Open the 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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.