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

Add TTL to Consul lock using store.LockOptions #63

Merged
merged 1 commit into from
Sep 23, 2015

Conversation

abronan
Copy link
Contributor

@abronan abronan commented Sep 22, 2015

Related to docker-archive/classicswarm#930 and docker-archive/classicswarm#1227

Add TTL on Lock for Consul and add tests for etcd, consul and zookeeper.

Also includes a stopChan for Consul and etcd in order to perform the test on the Lock TTL.

Signed-off-by: Alexandre Beslic abronan@docker.com

@abronan
Copy link
Contributor Author

abronan commented Sep 22, 2015

Hmmm travis can't bootstrap Consul, download URL might have changed or something... (All good now)

…Lock ttl behavior

Signed-off-by: Alexandre Beslic <abronan@docker.com>
@vieux
Copy link
Contributor

vieux commented Sep 23, 2015

LGTM

vieux added a commit that referenced this pull request Sep 23, 2015
Add TTL to Consul lock using store.LockOptions
@vieux vieux merged commit 720625d into docker:master Sep 23, 2015
@vieux vieux deleted the consul_ttl_lock branch September 23, 2015 17:46
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

2 participants