Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement leader_registry:unregister_name/1.
When gen_server (or similar behaviors) terminates due to an error in the init function, it unregisters the name. Since leader_registry didn't implement unregistration, this would result in the original error being hidden by exit(not_supported) produced by leader_registry:unregister_name/1. Change-Id: I40b09177c7a08577e663f4f0217c3e63f8a3db72 Reviewed-on: https://review.couchbase.org/c/ns_server/+/166067 Tested-by: Aliaksey Artamonau <aliaksey.artamonau@couchbase.com> Reviewed-by: Dave Finlay <dave.finlay@couchbase.com> Well-Formed: Build Bot <build@couchbase.com>
- Loading branch information
1 parent
261b2de
commit 75431d7
Showing
2 changed files
with
68 additions
and
23 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
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