Skip to content

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

@R2ZER0

Description

@R2ZER0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions