-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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.