Juniper/contrail-controller — pull request #562 by bailkeri (2014-04-08 17:21:01+00:00)
Title: Exit the process after master elected process exits

When schema transformer raises an exception, the lock file is deleted (as Lock.__exit__() gets called and lock file is removed in _inner_release). This would cause other node to become master. Due to the while loop in master election, current process continues to run and ports remain open..