Support SELECT ALL semantics for selectors

Aperta
#413 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
api

Direzione di ricerca

Inizia esaminando la semantica del selettore in neofs-api e la gestione di SELECT 0 referenziata in neofs-sdk-go. Confronta il comportamento proposto di SELECT 0 con la semantica SELECT ALL desiderata e determina quali definizioni dell’API o dell’SDK dovrebbero essere concordate. Il lavoro è completato quando la rappresentazione e il comportamento di compatibilità sono specificati chiaramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement I2 S2 U3

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

I'd like to filter out all nodes with some filter and then use all of them in a selector. Looks like there is no way to do that now, I have to specify some count.

This is especially annoying in cases like some on-prem/cloud policy where I'd like to store a copy locally and a copy in a more cloudy environment. I may have a storage node locally, so I'd create a container with SELECT 1 and REP 1. Then I will add a machine to my local environment, but it won't be used for this container.

Describe the solution you'd like

It seems like this behavior could be achieved without neofs-api changes, just by some special treatment of SELECT 0 (which doesn't make sense otherwise anyway).

Maybe there are other options, let's talk about them here, if SELECT 0 is OK then I'll create an issue in neofs-sdk-go to have SELECT ALL as another way of writing SELECT 0.

Lingua principale
Makefile
Stelle
12
Fork
15
Merge medio
1g 19h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nspcc-dev/neofs-api

Tutte le issue di nspcc-dev/neofs-api

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.