ozontech / ozontech/seq-db

Implement injector utility to feed blocks into seq-db when metafile is corrupted

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

Nobody has claimed this yet.

feature
Dominant language
Go
Stars
131
Forks
16
Avg merge
2d 4h
Merged PRs (30d)
11

Description

Problem
This functionality may be needed when the metafile (its header) is completely corrupted.

Solution
In such a case, we plan to use the already existing unpacker utility.
Additionally, we need to create a new utility – injector (alternative name: inserter) – which will form blocks and send them to seq-db (via seqproxy).

Tasks

  • Implement the injector utility
  • Ensure that the compiled binaries of both unpacker and injector are present in the Docker image

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 examining the existing unpacker utility and how it sends data through seqproxy. Determine how the new injector should form and submit blocks to seq-db, then inspect the Docker image build to ensure both compiled binaries are included.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli, databases, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.