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 deregistration of services #10

Merged
merged 4 commits into from Aug 22, 2012
Merged

Add deregistration of services #10

merged 4 commits into from Aug 22, 2012

Conversation

seancribbs
Copy link
Contributor

Applications that proved PB services should deregister them when shutting down so as to leave a clean state. This also helps when running test suites that start/stop those applications.

Replacing #4, this also serializes registration and deregistration through a gen_server process, making the modification of the dispatch table less prone to race conditions.

See also: basho/riak_kv#353, basho/riak_kv#354, basho/riak_search#116

@ghost ghost assigned seancribbs Aug 20, 2012
@travisbot
Copy link

This pull request fails (merged d5f707f into 2c1012d).

@travisbot
Copy link

This pull request passes (merged 300965c into 2c1012d).

@ghost ghost assigned joedevivo Aug 22, 2012
@@ -1,5 +1,6 @@
{cover_enabled, true}.
{erl_opts, [warnings_as_errors, {parse_transform, lager_transform}]}.
{eunit_opts, [verbose]}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be default in every repo!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joedevivo
Copy link
Contributor

+1

@ghost ghost assigned seancribbs Aug 22, 2012
seancribbs added a commit that referenced this pull request Aug 22, 2012
Add deregistration of services
@seancribbs seancribbs merged commit d8b1548 into master Aug 22, 2012
@seancribbs seancribbs removed their assignment May 8, 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.

None yet

3 participants