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

Migrate atom ids to UUIDs #72

Open
joshsh opened this issue Aug 6, 2023 · 1 comment
Open

Migrate atom ids to UUIDs #72

joshsh opened this issue Aug 6, 2023 · 1 comment
Labels

Comments

@joshsh
Copy link
Member

joshsh commented Aug 6, 2023

Newly-minted atom ids in SmSn are currently 16 base-62 characters, or around 96 bits. Let's increase that to 128 bits, and make atom ids into base-62 encoded UUIDs. That should rule out any future concerns about id collisions, and allow commonplace tools to be used for working with atom ids.

@joshsh joshsh added brain v2 and removed brain labels Aug 6, 2023
@joshsh
Copy link
Member Author

joshsh commented Aug 6, 2023

Important: before performing the migration, for each graph, create a file which preserves the mapping between the original ids and the new UUIDs, as a historical record. Older activity logs will become meaningless without this mapping. Alternatively or in addition, simply rewrite the activity logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant