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

Create periodically total snapshots for some types #1440

Open
pedrotambo opened this issue Feb 16, 2023 · 0 comments
Open

Create periodically total snapshots for some types #1440

pedrotambo opened this issue Feb 16, 2023 · 0 comments

Comments

@pedrotambo
Copy link
Contributor

Currently, a Catalyst creates total snapshots for every type only once at startup. We need to update them periodically (daily maybe) in a somehow efficient way for each one except profiles.
One potential solution:
Go through all the partial snapshots and grep lines by type and write to different files excluding profiles. This will avoid querying the database.
Pseudocode:
cat aPartialSnapshot | grep "type: 'aType'" >> aTypeSnapshot

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