diff --git a/utils/pstor/src/etcd_keep_alive.rs b/utils/pstor/src/etcd_keep_alive.rs index 454545c18..e12fba98e 100644 --- a/utils/pstor/src/etcd_keep_alive.rs +++ b/utils/pstor/src/etcd_keep_alive.rs @@ -550,10 +550,11 @@ impl LeaseLockKeeperClocking for EtcdSingletonLock { impl LeaseLockKeeperClocking for EtcdSingletonLock { #[tracing::instrument(skip(self, _state), err)] async fn clock(&mut self, _state: Replaced) -> LockStatesResult { - panic!( + eprintln!( "Lost lock to another service instance: {}. Giving up...", self.service_name ); + std::process::exit(128); } }