Upgrade leo_mq and leo_redundant_manager
Format code