Investigate removing the cursor and merge it back with the DataIterator

Abierto
#306 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go
Área
databases

Línea de trabajo

Start by locating Cursor, DataIterator, IterativeVerifier, and InlineVerifier, then read the outdated PR #139 for the earlier design context. Trace how Cursor is used by DataIterator and the verifiers before merging its iteration functionality into DataIterator. Done means Cursor and IterativeVerifier are removed without leaving their former responsibilities or references behind.

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

Descripción

We used to iterate through the data directly in the DataIterator. At one point, we developed the IterativeVerifier, which caused us to refactor the DataIterator such that the data iteration part became a Cursor, so it can be reused by the IterativeVerifier. With the InlineVerifier superseding the IterativeVerifier, the need for such a Cursor has been eliminated. To simplify the codebase, we should merge the functionality of Cursor back into the DataIterator.

We also need to remove the IterativeVerifier after that. See this outdated PR for reference.

Lenguaje dominante
Go
Estrellas
858
Forks
77
Merge medio
10 d 4 h
PR fusionados (30 d)
4

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 Shopify/ghostferry

Todos los issues de Shopify/ghostferry

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.