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

change default wal ttl from 1 day to 4 hours. #1947

Closed
wants to merge 1 commit into from

Conversation

whitewum
Copy link
Contributor

@whitewum whitewum commented Mar 20, 2020

What changes were proposed in this pull request?

4 hours wal recycle is enough for most cases.

Why are the changes needed?

wal takes too much ssd disk spaces.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Not necessary.

@critical27
Copy link
Contributor

I suggest change this parameter in storage.conf instead of here, it won't work if we don't update them in console.

@whitewum
Copy link
Contributor Author

I suggest change this parameter in storage.conf instead of here, it won't work if we don't update them in console.

As far as I know, all the (old) users have changed their conf file, or they are ok with 1 day. So there is no upgrade-and-change-congfigure-file problem.

But for new users, a new parameter is enough.

Why do you prefer parameter (1 day) in the source code?

@critical27
Copy link
Contributor

I suggest change this parameter in storage.conf instead of here, it won't work if we don't update them in console.

As far as I know, all the (old) users have changed their conf file, or they are ok with 1 day. So there is no upgrade-and-change-congfigure-file problem.

But for new users, a new parameter is enough.

Why do you prefer parameter (1 day) in the source code?

After a second thought, I think it's ok to replace it with 4h.

@dangleptr
Copy link
Contributor

The issue has been addressed in #1959
Close it.

@dangleptr dangleptr closed this Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants