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

"Revert to Yesterday" Big Red Button for the Datastore #221

Open
R2ZER0 opened this issue Sep 3, 2024 · 0 comments
Open

"Revert to Yesterday" Big Red Button for the Datastore #221

R2ZER0 opened this issue Sep 3, 2024 · 0 comments

Comments

@R2ZER0
Copy link
Contributor

R2ZER0 commented Sep 3, 2024

Occasionally, some bad data makes it's way into the datastore, or a bunch of data disappears when it shouldn't.
In these situations, we would usually fix the issue, and then re-run the datagetter.

These days, now that we have more data, the datagetter takes ~4-5 hours, so it will typically take an entire day to deploy and run a fix. But there are cases where we need data to be online again quickly, e.g. during certain demos or calls or campaign launches.

The datastore keeps 2 days of complete data: Today (Latest.CURRENT) and Yesterday (Latest.PREVIOUS)
So we could implement a "Revert to Yesterday" management command, and possibly a button on the dashboard, to enable us to quickly restore the functionality of tools and give us a day's breathing room while we work to implement a proper fix.

GrantNav also stores yesterday's ElasticSearch index, which could be used for similar functionality in GrantNav.

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

No branches or pull requests

1 participant