Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consensus/consul: Use CAS for read_modify_write
Use the CAS parameter when setting the key in Consul in ConsulAuthority::read_modify_write, so that multiple concurrent operations on the same key don't overwrite each other. Change-Id: I54358b2da0b7ba07c229cb3fa1f9265c4ceb1e5b Reviewed-on: https://gerrit.readyset.name/c/readyset/+/5217 Tested-by: Buildkite CI Reviewed-by: Luke Osborne <luke.o@readyset.io>
- Loading branch information
1 parent
c944d47
commit cba739a
Showing
1 changed file
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters