diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-08-20 18:15:43 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-08-20 18:15:43 +0100 |
| commit | 30b72308337928b0242f1a4782938382e65efafc (patch) | |
| tree | c30e16041b93302f604815894c7a3e2b7df0aa54 /src/dtree.erl | |
| parent | 8a068563e41a91133ff54538297f7590b9bd1cf3 (diff) | |
| download | rabbitmq-server-git-30b72308337928b0242f1a4782938382e65efafc.tar.gz | |
Switch to making our restart decisions based on explicitly determining whether we are starting for the first time or not. This is not very OTPish but it turns out to be necessary: there's no way to distinguish between losing a race to declare, starting a new slave, and restarting to a new slave otherwise. As an upside this code is shorter and more obviously correct (to me at least).
Diffstat (limited to 'src/dtree.erl')
0 files changed, 0 insertions, 0 deletions
