nspcc-dev / nspcc-dev/neofs-node

Implement metabase repairer

Open
#394 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature I3 neofs-storage S2 U4
Dominant language
Go
Stars
38
Forks
51
Avg merge
1d 20h
Merged PRs (30d)
38

Description

Proposal

Repairer - a background job that periodically (relatively rarely) checks the logical integrity of data in the local metabase. The main goal is to identify situations that should not arise during error-free operation of the base, but in the event of an actual occurrence they can and should be corrected.

Example

Metabase graveyard should not have a record Tombstone: Tombstone. Repairer can search for this type of records and remove them.

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

No files, tests, or entry points are named. Start by locating the local metabase and its graveyard/Tombstone records, then trace how background jobs are scheduled and how records are safely corrected. Done means the repairer periodically checks logical integrity and handles the stated duplicate Tombstone case.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, distributed-systems
Issue type
Feature
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.