ReadYourWrite doesn't correctly deal with mutating requests removing the last finalizer

Aperta
#3,670 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@AdamMagued ci sta già lavorando.

Dal 27/11/2026.

  • #3700 di @AdamMagued — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes
Ambito
api

Direzione di ricerca

Start from the ReadYourWrite client implementation and its tests in controller-runtime, then read kubernetes/kubernetes#138724 to understand the corrected 1.38 response behavior. Reproduce the case where a mutating request removes the last finalizer and the response carries the request RV while the object is deleted from storage. Done means the client no longer trusts that stale RV and tests cover the finalizer-removal path.

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

Descrizione

If the last finalizer gets removed on a mutating request, the response comes back with the same RV as the request and the apiserver deletetes the object from storage. This only gets fixed in 1.38 where the response will have the correct RV in that case: https://github.com/kubernetes/kubernetes/pull/138724

The ReadYourWrite client doesn't deal correctly with this.

Lingua principale
Go
Stelle
3k
Fork
1.3k
Merge medio
1g 7h
PR unite (30g)
48

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 kubernetes-sigs/controller-runtime

Tutte le issue di kubernetes-sigs/controller-runtime

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.