Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searchInsertOffset takes too much time cause Region xxx is unavailable error #6404

Closed
flowbehappy opened this issue Dec 1, 2022 · 0 comments · Fixed by #6405
Closed

searchInsertOffset takes too much time cause Region xxx is unavailable error #6404

flowbehappy opened this issue Dec 1, 2022 · 0 comments · Fixed by #6405

Comments

@flowbehappy
Copy link
Contributor

flowbehappy commented Dec 1, 2022

The write process is slow due to searchInsertOffset taking too much time. It is an O(n) operation.

image

image

It consumes over 60% of the time of applying raft logs, with 963k pages.

@flowbehappy flowbehappy added type/enhancement The issue or PR belongs to an enhancement. severity/major component/storage labels Dec 1, 2022
@flowbehappy flowbehappy changed the title searchInsertOffset takes too much time searchInsertOffset takes too much time cause Region xxx is unavailable error Dec 2, 2022
@flowbehappy flowbehappy added type/bug The issue is confirmed as a bug. affects-6.4 affects-6.5 and removed type/enhancement The issue or PR belongs to an enhancement. labels Dec 2, 2022
@flowbehappy flowbehappy added type/enhancement The issue or PR belongs to an enhancement. affects-6.2 affects-6.3 affects-6.4 and removed affects-6.5 type/bug The issue is confirmed as a bug. affects-6.4 labels Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants