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

UUIDs are now in tmpfiles #213

Merged
merged 3 commits into from
Oct 30, 2019
Merged

UUIDs are now in tmpfiles #213

merged 3 commits into from
Oct 30, 2019

Conversation

pboothe
Copy link
Contributor

@pboothe pboothe commented Oct 30, 2019

After some thought last night, I realized we moved the codebase in the wrong direction. Instead, the UUID prefix should be in a file in /tmp and be recreated on every run. Keeping the old file around puts the uniqueness of the UUIDs at risk.


This change is Reviewable

@pboothe pboothe requested a review from critzo October 30, 2019 13:34
Copy link

@critzo critzo left a comment

Choose a reason for hiding this comment

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

LGTM!

@critzo
Copy link

critzo commented Oct 30, 2019

@pboothe Thanks for that. I tested and confirmed this is working. I also made an additional commit to remove the "if prefix file exists" check. It was keeping filenames from including hostnames. I tested this to confirm it worked as expected, but please feel free to cross-validate.

@pboothe pboothe merged commit 839a5ce into master Oct 30, 2019
@pboothe
Copy link
Contributor Author

pboothe commented Oct 30, 2019

Thanks! Let's merge this!

@pboothe pboothe deleted the uuid_prefixes_in_tmpfiles branch October 30, 2019 16:49
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.

None yet

2 participants