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

U/kkasp/tron 2239 migrate pickle only state to json #1016

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

KaspariK
Copy link
Member

@KaspariK KaspariK commented Jan 6, 2025

Script for working with pickle/json keys. Supports outputting, converting, and deleting.

TODO: probably worth incorporating some of luis' state restore script

@KaspariK KaspariK marked this pull request as ready for review January 8, 2025 15:25
@KaspariK KaspariK requested a review from a team as a code owner January 8, 2025 15:25
dump_json_key(source_table, key)


def delete_keys(source_table: ServiceResource, keys: List[str]) -> None:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on discussion with @nemacysts and @EmanElsaban we can probably do something here where we look for jobs that Tron doesn't know about and use that as the test for a valid delete

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.

1 participant