mirror of
https://github.com/actiontech/dble.git
synced 2026-01-06 21:00:25 -06:00
fix reload description
This commit is contained in:
@@ -148,7 +148,7 @@ public final class ReloadConfig {
|
||||
}
|
||||
if (!reloadResult) {
|
||||
packetResult.setSuccess(false);
|
||||
packetResult.setErrorMsg("Reload config failure.The reason is reload interruputed by others,config should be reload");
|
||||
packetResult.setErrorMsg("Reload Failure.The reason is reload interruputed by others,config should be reload");
|
||||
packetResult.setErrorCode(ErrorCode.ER_RELOAD_INTERRUPUTED);
|
||||
return;
|
||||
}
|
||||
@@ -202,7 +202,7 @@ public final class ReloadConfig {
|
||||
try {
|
||||
if (!ReloadManager.startReload(TRIGGER_TYPE_COMMAND, confStatus)) {
|
||||
packetResult.setSuccess(false);
|
||||
packetResult.setErrorMsg("Reload config failure.The reason is reload status error ,other client or cluster may in reload");
|
||||
packetResult.setErrorMsg("Reload Failure.The reason is reload status error ,other client or cluster may in reload");
|
||||
packetResult.setErrorCode(ErrorCode.ER_YES);
|
||||
return;
|
||||
}
|
||||
@@ -218,7 +218,7 @@ public final class ReloadConfig {
|
||||
return;
|
||||
} else if (!reloadResult) {
|
||||
packetResult.setSuccess(false);
|
||||
packetResult.setErrorMsg("Reload config failure.The reason is reload interruputed by others,metadata should be reload");
|
||||
packetResult.setErrorMsg("Reload Failure.The reason is reload interruputed by others,metadata should be reload");
|
||||
packetResult.setErrorCode(ErrorCode.ER_RELOAD_INTERRUPUTED);
|
||||
}
|
||||
} finally {
|
||||
@@ -229,7 +229,7 @@ public final class ReloadConfig {
|
||||
|
||||
|
||||
private static void writeErrorResult(ManagerService c, String errorMsg) {
|
||||
String sb = "Reload config failure.The reason is " + errorMsg;
|
||||
String sb = "Reload Failure.The reason is " + errorMsg;
|
||||
LOGGER.warn(sb);
|
||||
c.writeErrMessage(ErrorCode.ER_YES, sb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user