Closed derekkraan closed 4 years ago
Hi @slashdotdash, we have been testing this in production the last two days, it seems to be working just fine. I have been testing various scenarios of killing various parts of the system and seeing how it recovers, and so far seems to be working well.
Thanks for the feedback @derekkraan. I will get this PR merged into master and the v1.0.0 release branch and publish a hotfix to Hex as v1.0.2.
@slashdotdash just a quick update, we have been running this in prod since I created this PR, haven't seen anything out of the ordinary.
This has been published to Hex as v1.0.2.
This fixes a bug where each
Notification.Supervisor
was being supervised by multipleEventStore.Supervisor
(one local, the rest remote), which is an OTP no-no (causingEventStore.Supervisor
to block on shutdown if it was not the parent of the globalNotification.Supervisor
.I still think this solution is a bit janky, because we're essentially inventing our own supervisor here. Please take a look and let me know what you think.