[X ] I have searched the issues of this repository and believe that this is not a duplicate.
What happened?
During shutdown, if the mqtt server shuts down first the the network server hangs in its shutdown. That it turn means that postgres can't do a clean shutdown as the network server still has an open connection, and forcing a postgres shutdown can lead to corruption.
What did you expect?
Since the Network server has logged the mqtt connection error it should skip the unsubscribe and shutdown cleanly
What happened?
During shutdown, if the mqtt server shuts down first the the network server hangs in its shutdown. That it turn means that postgres can't do a clean shutdown as the network server still has an open connection, and forcing a postgres shutdown can lead to corruption.
What did you expect?
Since the Network server has logged the mqtt connection error it should skip the unsubscribe and shutdown cleanly
Steps to reproduce this issue
Steps:
Could you share your log output?
Your Environment