googleapis / googleapis/google-cloud-cpp

Refactor how DefaultRowReader determines when to call OperationContext::PostCall

Abierto
#15,314 0 comentarios 0 reacciones 0 asignados Ver en GitHub
type: cleanup
Lenguaje dominante
C++
Estrellas
659
Forks
462
Merge medio
1 d 2 h
PR fusionados (30 d)
89

Descripción

It would be nice to remove the recently added `bool called_post_call_;` member variable and instead refactor how the internal state machine works to ensure OperationContext::PostCall is only called once regardless of success, error, or cancellation.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Locate DefaultRowReader and inspect how its called_post_call_ member coordinates OperationContext::PostCall. Trace the success, error, and cancellation state transitions before deciding how they can guarantee a single PostCall invocation without that member. Done means all three paths call PostCall exactly once, but the issue names no files or tests to run.

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

Evaluación

Stack tecnológico
cpp
Área
backend
Tipo de issue
Refactorización
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.