4paradigm / 4paradigm/OpenMLDB
Support refresh one table/deployment in sql_cluster_router
Ouverte
enhancement
sdk
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
if we create a new table or deploy a new deployment, we should call `RefreshCatalog` to add table/deployment to catalog. `RefreshCatalog` will request all node in zookeeper path currently. it is unnecessary
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Look for the RefreshCatalog function in the codebase, likely in sql_cluster_router or catalog-related modules. Understand how it currently queries all nodes via ZooKeeper. The goal is to modify it to refresh only a specific table or deployment. Check existing tests for catalog refresh to see how the new behavior should be validated.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- backend, databases
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100