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

Adjust wait time on Retry #216

Closed
cangfengzhs opened this issue Sep 23, 2022 · 1 comment
Closed

Adjust wait time on Retry #216

cangfengzhs opened this issue Sep 23, 2022 · 1 comment
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@cangfengzhs
Copy link

time.Sleep(1 * time.Second)

In case of write failure, in order to avoid avalanche, the waiting time here is better to increase exponentially, because it is likely that the write speed is too fast, causing the WAL of the storage to be full.

@veezhang
Copy link
Contributor

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

3 participants