ClickHouse / ClickHouse/clickhouse-java
No alert in spring log for "Not enough privileges." error
- 主要言語
- Java
- スター
- 1.6k
- フォーク
- 636
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 29
説明
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.`
コントリビューションガイド
調査の方向性
application.yml の設定と mapper.xml のデータベース名を使用して両方のシナリオを再現し、その後、Postman または別のクライアントを通じて起動と API 呼び出しを観察します。"Not enough privileges." エラーがどこで処理されているかを追跡し、どのログまたはアラートが表示されるべきかを特定します。完了条件は、どちらの場合もアプリケーションログにエラーが表示されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, spring
- 領域
- backend, databases
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100