apache / apache/incubator-pegasus

full_scan in shell client can't terminate by time out

Open
#650 0 comments 0 reactions 0 assignees View on GitHub
type/bug
Dominant language
C++
Stars
2.1k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

Commands:
```
>>> use stat
OK
>>> full_scan -h prefix -x 2019-10
partition: all
hash_key_filter_type: prefix
hash_key_filter_pattern: "2019-10"
sort_key_filter_type: no_filter
value_filter_type: no_filter
max_count: -1
timout_ms: 5000
detailed: false
no_value: false
```
When the table is large, it will return values after several minutes, but no hint of timeout

Contributor guide

Open the contributing guide

Research direction

Reproduce the `full_scan -h prefix -x 2019-10` command against a large table with `timout_ms: 5000`, then trace timeout handling in the shell client. Done means the scan terminates and reports the timeout instead of returning values only after several minutes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.