Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

feat: add a new app_env to limit scan time - #421

Merged
acelyc111 merged 6 commits into
XiaoMi:masterfrom
hycdong:abnormal_iteration
Mar 23, 2020
Merged

acelyc111 merged 6 commits into
XiaoMi:masterfrom
hycdong:abnormal_iteration

Conversation

@hycdong

@hycdong hycdong commented Mar 20, 2020 •

Copy link
Copy Markdown
Contributor

As pegasus issue Limit long time scan operator shows, we should set a time threshold for rocksdb iterate operation to avoid long time scan. To make it more flexible, we provide a new app_env called replica.rocksdb_iteration_threshold_time_ms to config this option.

acelyc111
acelyc111 previously approved these changes Mar 20, 2020
@acelyc111
acelyc111 merged commit b82dbe6 into XiaoMi:master Mar 23, 2020
@hycdong
hycdong deleted the abnormal_iteration branch April 22, 2020 01:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants