apache / apache/iotdb

602 when querying a non-existent time series by using a non-root user

未关闭
#3,527 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

**Describe the bug**
A clear and concise description of what the bug is.

602 when querying a non-existent time series by using a non-root user

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

using root:
![root](https://user-images.githubusercontent.com/16935178/124774724-9b506300-df70-11eb-85c8-1e2134789fa3.png)

using non-root:
![non-root](https://user-images.githubusercontent.com/16935178/124774740-a0151700-df70-11eb-88e2-a40cc11a9c3f.png)

**Desktop (please complete the following information):**
- OS: [e.g. iOS] mac os bigsur
- Browser [e.g. chrome, safari]
- Version [e.g. 22] 0.12.1

**Additional context**
Add any other context about the problem here.

贡献指南

打开贡献指南

调研方向

首先,在 IoTDB 0.12.1 上分别使用 root 用户和非 root 用户复现对不存在时间序列的查询,并对比 602 响应和 issue 中的截图。跟踪处理缺失时间序列时涉及的查询和授权入口;当两种用户都收到预期的一致响应时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
authorization, databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。