Skip to content

*: add support for etcd v3 api#393

Merged
sgotti merged 3 commits into
sorintlab:masterfrom
sgotti:etcd_api_v3
Jan 8, 2018
Merged

*: add support for etcd v3 api#393
sgotti merged 3 commits into
sorintlab:masterfrom
sgotti:etcd_api_v3

Conversation

@sgotti

@sgotti sgotti commented Dec 22, 2017

Copy link
Copy Markdown
Member

For etcdv2 and consul we keep using libkv while for etcd v3 api we'll directly
use the etcdclientv3. We abstract the implementation under a KVStore and an
Election interface. We haven't implemented a libkv store for etcdv3 since libkv
looks quite dead and doesn't support the context package. So in future we'll
probably move out from libkv to better use context features.

Note: currently semaphore isn't testing with etcdv3 api.

@sgotti sgotti force-pushed the etcd_api_v3 branch 3 times, most recently from 6cf0ec4 to c4540ad Compare December 24, 2017 12:58
This was referenced Dec 24, 2017
@sgotti sgotti force-pushed the etcd_api_v3 branch 4 times, most recently from 627b88b to 76d0189 Compare January 3, 2018 09:32
update etcd and include clientv3 and related dependencies
@sgotti sgotti force-pushed the etcd_api_v3 branch 2 times, most recently from 7d018ab to ee4e8c7 Compare January 8, 2018 10:31
for etcdv2 and consul we keep using libkv while for etcd v3 api we'll directly
use the etcdclientv3. We abstract the implementation under a KVStore and an
Election interface. We haven't implemented a libkv store for etcdv3 since libkv
looks quite dead and doesn't support the context package. So in future we'll
probably move out from libkv to better use context features.
Update doc for etcdv3 backend.

Update examples to use etcdv3 instead of etcd (aka etcdv2) api.
@sgotti sgotti merged commit b88a557 into sorintlab:master Jan 8, 2018
sgotti added a commit that referenced this pull request Jan 8, 2018
*: add support for etcd v3 api
@sgotti sgotti added this to the v0.8.0 milestone Jan 18, 2018
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.

1 participant