Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add support for Rollout on list of big list (100k+) of controller ids

Aperta
#1,845 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
Stack tecnologico
java

Direzione di ricerca

Start by reading the rollout creation and RSQL filter handling, then trace the rollout executor's CREATING, READY, and DELETING states. The issue proposes storing controller-id sets as files and using temporary tags, but leaves file storage and tag cleanup open. Done means agreeing on those details and supporting large static controller lists through the proposed lifecycle.

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

Descrizione

Sometimes, the set of targets to update may be a list of targets from different management systems - in that case, the standard RSQL filters don't work since controllerid =in= (....) could become too big (over the target filter restriction of 1024 characters).
To implement this we could add support for special case controllerid =in= (....) and bigger rsql query passed to create rollout:

  • if rsql size <= 1024 - normal roollout - nothing to change
  • else
    • if dynamic -> error (only static support controllers list shall be supported, tagging - see below)

    • else ( size >= 1024 & static rollout):

      filter: (contrillerid =in= (set_0) and type == 1 or conrollerid =in= (set_1)) and controllerid =out= (set_2)

      1. create unique - UUID (16 chars, or whatever), e.g. e.g. $ro_<tiemstamp>_<rnd>
      2. replace filter with: (tag != (<unique>_0) and type == 1 or tag == <unique>_1) and tag != <unique>_2
      3. check if the new filter size is <= 1024, if not - error
      4. store /<tenant>/<unique>_0, /<tenant>/<unique>_1, /<tenant>/<unique>_2 as files
      5. create tags <unique>_0, <unique>_1, <unique>_2
      6. create rollout with the new filter - return success

      when rollout executor process CREATING:

      1. tag /<tenant>/<unique>_i targets with tag <unique>_i, when ready - delete file -> a marker that tagging is applied, could have (somewhere) marker for process
      2. if all tags are processed - proceed as for standard rollout - apply the filter

      when rollout executor process READY or DELETING

      1. remove tag - unique could contain some special format, as $ro_<tiemstamp>_<rnd>

Note: the file storage should be pluggable as artifact repository
(?) if tag is removed on _READY database will be cleaner but will lose some traceability - why does the rollout contain what it contains ...

Lingua principale
Java
Stelle
601
Fork
228
Merge medio
15h 29m
PR unite (30g)
65

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 eclipse-hawkbit/hawkbit

Tutte le issue di eclipse-hawkbit/hawkbit

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.