-
Notifications
You must be signed in to change notification settings - Fork 220
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
Make domainUserId a UUID #274
Comments
Blocked by snowplow/snowplow#1090 snowplow/snowplow#1091 |
If we don't want to break the pipeline for people who haven't upgraded to the latest table definition (with the increased domain_userid field size), we could do this in two steps: to start with we could generate a proper uuid and drop all but 16 characters of it. I think this would still be higher entropy than the current implementation (a hash of browser features and the timestamp to the nearest second), but would have to check the uuid generation method to be sure. |
That will be the de facto behaviour anyway I think if someone hasn't upgraded their Redshift - the domain_userid value will get truncated at 16 characters. I think when we release this in the 3.0.0 we should push people to upgrade their Redshift at the same time, so there is only one breakage in user IDs (old to UUID), rather than two breakages (old to truncated UUID to full UUID)... |
We don't necessarily need a breakage at all - we could just keep the old user IDs when they are available in the ID cookie and generate a new UUID otherwise. |
Ah - I like it! |
Bringing forwards following Augur analysis |
Bringing forwards as we should get on with this... |
No description provided.
The text was updated successfully, but these errors were encountered: