flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

Remove shutdown lock #977

Open moulliet opened 6 years ago

moulliet commented 6 years ago

The original intent of the shutdown lock was to prevent the hub from restarting a node to clear up out of sync curator locks.
We have fixed the underlying lock issue, and the hub no longer auto-restarts. In addition, since prod clusters can have 4+ nodes, the impact of two nodes restarting at the same time is minimized.

moulliet commented 6 years ago

Thinking about this some more. Perhaps instead of removing the lock, we could allow multiple locks.