4paradigm / 4paradigm/OpenMLDB
duplicate `Put` code for inserting aggr_table
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**Describe the feature you'd like**
Now `aggregator` uses the `Table::Put` API to put the data, and manually calls the `replicator` APIs to write to the log. Duplicate logics with the `Tablet::Put`.
We have to extract a common function to achieve the same objective.
Guía de contribución
Línea de trabajo
Look at the aggregator's use of Table::Put and replicator APIs, and compare with Tablet::Put in the codebase. Identify common logic for inserting into aggr_table and writing to the log. Focus on extracting a shared function to eliminate duplication. Check existing tests for Put operations to ensure refactoring doesn't break functionality.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- backend, databases
- Tipo de issue
- Refactorización
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100