External refresh edge cases: capture failure and lease after error

Abierto
#2,696 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
backend

Línea de trabajo

Start by reading the implementation and tests for Record writes, capture failure handling, claim_plan, and batch refresh attempts; the issue does not name their files. Trace how a failed capture affects reconciliation, how errors release a plan lease, and whether one failing target blocks its batch. Done means each edge case has defined behavior and regression coverage; the desired behavior is not specified here.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

  • When capture fails inside a Record write, BReg rolls back to the savepoint, logs a warning and commits the write. It does not mark the plan for reconciliation, so a changed link key waits a full interval.
  • An error after claim_plan holds the plan lease until it expires.
  • A target that always fails fails its whole batch, up to the attempts ceiling.

All three are low severity. The last two may predate the in-process worker.

Deferred from #2693.

Lenguaje dominante
Rust
Estrellas
2
Forks
0
Merge medio
9 h 48 min
PR fusionados (30 d)
151

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de registrystack/registry-stack

Todos los issues de registrystack/registry-stack

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.