RVI(client) power fails, and does not shut down connection to RVI(server)
RVI(client) comes back up
RVI(client) connects to RVI(server)
RVI(client) registers jlr.com/x/y
The old TCP/IP connection from Step 1 finally times out in RVI(server)
RVI(server) deletes jlr.com/x/y from its tables since it was associated with the old connection.
Solution is to have service_discovery:unregister_remote_services_by_address() verify that each service to be unregistered has not been registered from another peer address. Those that have been registered should not be dropped.
Solution is to have service_discovery:unregister_remote_services_by_address() verify that each service to be unregistered has not been registered from another peer address. Those that have been registered should not be dropped.