4paradigm / 4paradigm/OpenMLDB
Support refresh one table/deployment in sql_cluster_router
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- backend, databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100