ClickHouse / ClickHouse/clickhouse-java
No alert in spring log for "Not enough privileges." error
- Vorherrschende Sprache
- Java
- Sterne
- 1.6k
- Forks
- 636
- Ø Merge
- 2 T. 23 Std.
- Gemergte PRs (30 T.)
- 29
Beschreibung
Here are 2 scenarios:
## 1. Correct user/pasword but wrong database in URL
Steps to reproduce:
1. Configurations in application.yml. Correct user/pasword but wrong database in URL
2. Hardcode the correct database name in mapper.xml
3. `We won't get any warnning info or alert when starting the spring application`
4. `Also no alert when we call the corresponding api interface thru postman or others`
## 2. Correct user/pasword and correct database in URL, but wrong database name in mapper.xml
Steps to reproduce:
1. Configurations in application.yml. Correct user/pasword and correct database in URL
2. Hardcode the wrong database name in mapper.xml
3. `Call the interface by postman or else, we got 500 error.`
4. `No alert in application log.`
Beitragsleitfaden
Rechercherichtung
Reproduziere beide Szenarien mit der Konfiguration aus application.yml und den Datenbanknamen in mapper.xml und beobachte den Start sowie die API-Aufrufe über Postman oder einen anderen Client. Verfolge, wo der Fehler "Not enough privileges." behandelt wird, und ermittle, welches Log oder welcher Alert erscheinen sollte; abgeschlossen bedeutet, dass der Fehler in beiden Fällen im Anwendungslog sichtbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, spring
- Bereich
- backend, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100