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

Unify transaction and event retention windows #234

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Jun 27, 2024

What

Use a new, unified history-retention-window (with a default value of 1 day until #115 is fixed) flag and mark the event/transaction window configuration parameters as deprecated.

Until we remove the event/transaction flag, history-retention-window will be initialized to the maximum of the three.

Also, initialize cfg.HistoryArchiveUserAgent in a more suitable place.

Why

Simplifies the configuration. Closes #199

Known limitations

N/A

Use a new, `unified history-retention-window` flag and mark the event/transaction window
configuration parameters as deprecated.

Until we remove the event/transaction flag, `history-retention-window` will be initialized to
the maximum of the three.
@2opremio 2opremio requested review from aditya1702 and psheth9 June 27, 2024 11:04
@aditya1702 aditya1702 merged commit ef78ce0 into stellar:main Jun 27, 2024
19 checks passed
@2opremio 2opremio deleted the unify-tx-and-event-windows branch June 28, 2024 10:59
@2opremio
Copy link
Contributor Author

2opremio commented Jun 28, 2024

BTW, this partly closes #208 and closes #210

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.

Unify events and transactions retention window
3 participants