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

Limit WAL instances within WAL and enforce on hydration #693

Open
masih opened this issue Oct 3, 2024 · 1 comment
Open

Limit WAL instances within WAL and enforce on hydration #693

masih opened this issue Oct 3, 2024 · 1 comment

Comments

@masih
Copy link
Member

masih commented Oct 3, 2024

Stored WAL instances are limited to 5 by calls from runner start loop.

If for whatever reason runner is interrupted repeatedly before purge is called or the WAL directory has more than 5 WAL files the current implementation reads them all on hydration.

Change the implementation such that this cannot happen by enforcing the maximum number of epochs within WAL itself, may it be applied as WAL rotates or during hydration.

@masih
Copy link
Member Author

masih commented Oct 4, 2024

Kicking this out of milestone 2 as it is non-critical: for this to happen there needs to be a string of errors and even then a single progress of instance would wipe the prior data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant