-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add comprehensive debug logging for node status updates
This commit adds extensive debug logging to trace and prevent empty role issues in node status updates. Key changes include: - Enhanced logging in `update_node_status()` to capture call stack and input parameters - Added role validation to default to 'slave' if no role is provided - Improved JSON generation logging in `generate_node_status_json()` - Multiple layers of role validation to prevent empty or null roles - Detailed logging of the JSON being written to etcd The changes will help diagnose and prevent issues with role configuration in the MySQL cluster management system.
- Loading branch information
Showing
2 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters