apache / apache/iotdb

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

Open
#3,527 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

**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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the query for a non-existent time series with root and non-root users on IoTDB 0.12.1, comparing the 602 response and the screenshots in the issue. Trace the query and authorization entry points involved in handling missing time series; done means both user types receive the intended consistent response.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.