4paradigm / 4paradigm/OpenMLDB
duplicate `Put` code for inserting aggr_table
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
**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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- backend, databases
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100