Batch-scoped DLQ reconciler fails requests that another live batch owns
Mantenedores costumam responder em até 2 dias
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- go
- Domínio
- distributed-systems
Direção de pesquisa
Read dlq/request.go for the existing owningBatch guard, then trace failBatch and its batch.Contains fan-out. Add coverage for a request owned by another non-terminal batch and for the reconciled batch's own members; done means only requests not owned by another live batch are terminated.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Problem
The batch-scoped DLQ reconciler fails requests that another live batch owns. That batch may go on to merge the change, which leaves the request reported error for a change that lands.
How it is reached
A lost ack on the batch topic leaves two batch attempts for one request. If the redundant attempt's dependency-analysis message exhausts its retries (for example, a storage error while resolving dependencies), it dead-letters while still in creating. failBatch then moves it to failed and fans out over batch.Contains, terminating a request that reads batched and belongs to the first, healthy batch. TerminateRequest declines only when the request is already terminal, and batched is not terminal.
The guard to mirror
owningBatch in dlq/request.go already answers "which batch owns this request" for the request-scoped reconciler. The batch-scoped fan-out needs the inverse: skip a request when some other non-terminal batch owns it. The guard must exclude the batch being reconciled, or the batch counts as its own members' owner and the fan-out never happens.
Found in review of #590. As of 6c050082 the fan-out in failBatch has no ownership guard.
- Linguagem predominante
- Go
- Estrelas
- 252
- Forks
- 16
- Merge médio
- 2d 1h
- PRs com merge (30d)
- 125
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de uber/submitqueue
-
[Bug] Land returns codes.Unknown instead of InvalidArgument for an unrecognized strategyTalvez já em andamento @DivyanshGarg380 assumiu há 14 dias. Abertabug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 22/100
uber/submitqueue#996 ·
Mantenedores costumam responder em até 2 dias
-
Cancel misses a batch mid-promotion, letting a cancelled request reach speculationTalvez livre de novo @burgulvedant assumiu há 14 dias e não há nenhum pull request aberto. Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
uber/submitqueue#825 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
uber/submitqueue#824 · 2 comentários ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
uber/submitqueue#820 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
uber/submitqueue#819 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
Todas as issues de uber/submitqueue
Issues semelhantes
-
ManageSieve proxy: a backend's NO/BYE greeting is skipped as a capability line and reported as EOFAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ManageIQ/manageiq-pods#1476 ·
Mantenedores costumam responder em até 1 dia
-
mcp: typed tool handlers lose wrapped JSON-RPC errorsTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
modelcontextprotocol/go-sdk#1529 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
kubescape/node-agent#1099 ·
Mantenedores costumam responder em até 1 dia
-
import-export
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
genealogix/glx#1498 ·
Mantenedores costumam responder em até 2 dias