4paradigm / 4paradigm/OpenMLDB
apiserver needs full sql test, pay attention to NsClient::db_
Aperta
api-server
enhancement
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
Each apiserver request has its own db, but NsClient used to cache db. So we may get no db bug when we request apiserver and it calls NsClient.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The issue mentions apiserver, NsClient::db_, and a potential 'no db bug'. Look for apiserver request handling code and the NsClient class to understand how database connections are managed and cached. Write a full SQL test that reproduces the scenario where a request triggers NsClient and encounters a missing database. Verify the fix ensures each request has its own db accessible.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, sql
- Ambito
- backend-api-design, databases, testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100