nspcc-dev / nspcc-dev/neofs-node

Reduce `neofs-lens storage inspect` flags restrictions

Open
#2,549 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement I3 neofs-lancet S4 U3
Dominant language
Go
Stars
38
Forks
51
Avg merge
1d 20h
Merged PRs (30d)
38

Description

Is your feature request related to a problem? Please describe.

https://github.com/nspcc-dev/neofs-node/pull/2543 is going to be merged (if you are reading this, it is probably done), and neofs-lens storage inspect (or get) requires SN's config to read storage correctly. So strict requirement. There can be situations when a user does not have access to a config (or config is lost).

Describe the solution you'd like

Analyze and find out if it is possible to just specify paths to shards and derive their config on the fly without the need to look for a config (or write from scratch, which is even worse). There must not be any duality of a shard configuration understanding and if an object is placed correctly on some shard, neofs-lens storage must be able to get it.

Describe alternatives you've considered

Do nothing. Missing config is a disaster for a user then.

Additional context

Blobovnicza removal should help a lot. May be related to https://github.com/nspcc-dev/neofs-node/issues/2497. May be fixed implicitly if the engine becomes AI and does not require config specification for already-inited shards.

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 with the neofs-lens storage inspect command and compare it with get in issue #2548. Read the changes in pull request #2543 and the context in issue #2497, then determine whether shard paths can provide the required configuration without an SN config. Done means correctly reading objects from already initialized shards without requiring that config.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, 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.