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

[BUG] `GET /channels/{channelId}/statistics` returns the counters of an unrelated channels

Aperta
#456 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
api, backend

Direzione di ricerca

The bug is a race: GET /channels/{channelId}/statistics for channel A can return counters for an unrelated channel B while B is being deployed or undeployed. Start from the REST handler for that statistics endpoint and how channel identity is bound to the counters during deploy/undeploy. Reproduce with two threads as in the issue. Done when GET for A always returns A’s statistics and never B’s mid-deploy or mid-undeploy.

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

Descrizione

bug

Repro:

  1. In one thread, loop: deploy channel B, send a message through it, undeploy channel B.
  2. In another thread, loop: GET /channels/{A}/statistics

Expected:

  • GET /channels/{A}/statistics always succeeds and gives the statistics for channel A

Actual:

  • While B is mid-deploy or mid-undeploy, the response describes channel B.
Lingua principale
Java
Stelle
227
Fork
81
Merge medio
3g 6h
PR unite (30g)
15

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 OpenIntegrationEngine/engine

Tutte le issue di OpenIntegrationEngine/engine

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.