OpenMLDB
OpenMLDB copied to clipboard
Some bugs of diagnostic tools
Bug Description
- When the version of the tablet is inconsistent with that of the NS, there is no prompt for check version failed
- When ZK in tablet is not configured, the diagnostic tool has an error
- When there are no logs under taskmanager / bin / logs /, the diagnostic tool has an error
Expected Behavior
Steps to Reproduce
- Some info level logs in the taskmanager logs are also printed out
- When data_dir When the directory of dir does not exist, executing check = SQL alone will not create an error
- There is a problem with the log output in taskmanager / bin / logs
- The version of taskmanager is incorrect, and the obtained version is inconsistent with the actual version
- Prompt an error each time
- Execute check = SQL immediately after tablet stop, and an error message will appear
The following problems have been fixed:
- When the version of the tablet is inconsistent with that of the NS, there is no prompt for check version failed
- Some info level logs in the taskmanager logs are also printed out
- When data_dir When the directory of dir does not exist, executing check = SQL alone will not create an error
refacted later.