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

fsm: add missing CA config to snapshot/restore logic #4535

Merged
merged 3 commits into from
Aug 16, 2018
Merged

Conversation

kyhavlov
Copy link
Contributor

This PR fixes the CA config not being backed up/restored from snapshots properly, which was causing issues when servers loaded the CA state from a snapshot and the roots didn't match the CA config (because the CA config was being re-initialized from the config instead of loaded from the snapshot).

@kyhavlov kyhavlov requested review from banks and mkeeler August 16, 2018 19:00
mkeeler
mkeeler approved these changes Aug 16, 2018
Copy link
Member

@mkeeler mkeeler left a comment

Choose a reason for hiding this comment

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

Everything here looks good.

I know its unrelated but I wonder if it would be useful to add a test for ensuring snapshotting/restoring of proxy configurations in this PR. We could always do it separately but its kind of a similar issue. I will leave it up to you and approve this for now.

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.

2 participants