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

Splitstore: add retention policy option for keeping messages in the hotstore #6775

Merged
merged 3 commits into from
Jul 22, 2021

Conversation

vyzo
Copy link
Contributor

@vyzo vyzo commented Jul 17, 2021

It appears that deals have a longish lookback for messages; this adds an option to accommodate them.

cc @ribasushi

@vyzo vyzo requested review from Stebalien and magik6k July 17, 2021 06:02
@vyzo
Copy link
Contributor Author

vyzo commented Jul 17, 2021

Actually, its utility goes beyond lookbacks -- it allows nodes running with discard + the retention policy to support other nodes syncing from them, even if they fall behind -- up to the retention interval.

So running a booster/bootstrapper with discard and some 30 finalities retention is a very reasonable proposition.
cc @travisperson

@Stebalien
Copy link
Member

A test would be nice.

@vyzo
Copy link
Contributor Author

vyzo commented Jul 19, 2021 via email

@magik6k
Copy link
Contributor

magik6k commented Jul 22, 2021

Issue for testing: #6834

@magik6k magik6k requested a review from a team as a code owner July 22, 2021 10:58
@magik6k magik6k merged commit 0c02207 into master Jul 22, 2021
@magik6k magik6k deleted the feat/splitstore-hot-messages branch July 22, 2021 11:41
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.

4 participants