Skip to content

etcd non-HA storage backend#259

Merged
armon merged 1 commit intohashicorp:masterfrom
buth:etcd
May 26, 2015
Merged

etcd non-HA storage backend#259
armon merged 1 commit intohashicorp:masterfrom
buth:etcd

Conversation

@buth
Copy link
Copy Markdown
Contributor

@buth buth commented May 24, 2015

This is an implementation of an etcd-based storage backend using the standard client. I've tested it against etcd 2.0.10 with the current version of go-etcd.

I'd like to extend this to implement HABackend, but it seemed like submitting this as a first step would be a good idea incase I'm on the wrong track.

The tests can be run by providing a valid etcd address such as ETCD_ADDR=http://localhost:4001. At the moment, the backend will sync with the rest of the cluster using only a single address. It's possible to specify an array of machine addresses, but it would involve splitting one of the configuration fields.

@armon
Copy link
Copy Markdown
Contributor

armon commented May 25, 2015

@buth Looks great! Could you just update the documentation on page website/source/docs/config/index.html.md with the new backend and the configuration options?

@buth
Copy link
Copy Markdown
Contributor Author

buth commented May 26, 2015

Will do!

@buth
Copy link
Copy Markdown
Contributor Author

buth commented May 26, 2015

@armon Added the documentation and rebased! Let me know if you need anything else.

armon added a commit that referenced this pull request May 26, 2015
etcd non-HA storage backend
@armon armon merged commit 4ea6acf into hashicorp:master May 26, 2015
@armon
Copy link
Copy Markdown
Contributor

armon commented May 26, 2015

@buth Thanks LGTM!

@sethvargo sethvargo mentioned this pull request Jun 1, 2015
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