4paradigm / 4paradigm/OpenMLDB

Support refresh one table/deployment in sql_cluster_router

Offen
#1,931 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @dl239 Auf GitHub ansehen
enhancement sdk
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
backend, databases
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.