Description
The reloadCertificate REST API unconditionally restarts the Erlang TLS distribution and the HTTPs server even if the reload is a "no-op" i.e. the inbox is empty.) These restarts can disconnect the node from other nodes and may cause things like rebalance to halt and replication connections to need to be re-established. We've seen this happen in certain cases in the field.
It would be a nice improvement to check to see if the cert reload is a no-op and short circuit return with success.