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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update api.Client for isolated read-after-write support #1188

Merged
merged 12 commits into from Oct 14, 2021

Conversation

benashz
Copy link
Contributor

@benashz benashz commented Oct 7, 2021

This PR adds support for the Vault client API's Client Controlled Consistency model. It utilizes a shared store for tracking the replication state for all client instances.

Community Note

  • Please vote on this pull request by adding a 馃憤 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #1170 hashicorp/vault#12814

Release note for CHANGELOG:


Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

- The ClientFactory provide a consistent interface for managing vault
  Client instances. It provides a shared replication state store that
  supports the Vault client API's Client Controlled Consistency model.
go.mod Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client_test.go Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client.go Outdated Show resolved Hide resolved
vault/client_test.go Outdated Show resolved Hide resolved
vault/client_test.go Outdated Show resolved Hide resolved
vault/client_test.go Outdated Show resolved Hide resolved
vault/client_test.go Outdated Show resolved Hide resolved
vault/client_test.go Outdated Show resolved Hide resolved
@benashz benashz requested a review from tomhjp October 14, 2021 19:05
@benashz benashz merged commit 20bc4ee into main Oct 14, 2021
@benashz benashz deleted the VAULT-3157/support-vault-triple-c branch October 14, 2021 19:41
@benashz benashz changed the title Add Vault client triple-c support Update api.Client for isolated read-after-write support Oct 14, 2021
@benashz benashz added this to the 3.0.0 milestone Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants