At first sight it seems indeed a leader change problem. I think we should take the chance to move to juju builtin leader election, that will offer the primitives and hooks (leader-changed) to handle this properly.
At first sight it seems indeed a leader change problem. I think we should take the chance to move to juju builtin leader election, that will offer the primitives and hooks (leader-changed) to handle this properly.