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

VAULT-8631 Make upgrade synchronous when no keys to upgrade #66

Merged
merged 1 commit into from Sep 29, 2022

Conversation

VioletHynes
Copy link
Contributor

This makes the upgrade synchronous when there are no keys in the KV mount (such as when we are creating a new KVV2 mount).

This should make things easier as the mount will be available to use as soon as the mount creation request succeeds, making things easier for users.

All tests pass (and are much faster!) and all tests should implicitly test this feature. Introducing some latency into the upgrade process make the tests fail consistently without my change and pass consistently with it.

upgrade.go Show resolved Hide resolved
Copy link

@ncabatoff ncabatoff left a comment

Choose a reason for hiding this comment

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

Excited to finally have this!

Copy link
Contributor

@ccapurso ccapurso left a comment

Choose a reason for hiding this comment

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

Looks good, will be great to have this change!

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

3 participants