[improvement](detailMessage) add AvailCapacity prompt in detailMessage (#26328)

Co-authored-by: xingying01 <xingying01@corp.netease.com>
This commit is contained in:
xy
2023-11-17 16:54:31 +08:00
committed by GitHub
parent 593e3662b0
commit ab322eaa2b
3 changed files with 13 additions and 9 deletions

View File

@ -593,7 +593,8 @@ public class SystemInfoService {
if (!failedEntries.isEmpty()) {
String failedMsg = Joiner.on("\n").join(failedEntries);
throw new DdlException("Failed to find enough backend, please check the replication num,"
+ "replication tag and storage medium.\n" + "Create failed replications:\n" + failedMsg);
+ "replication tag and storage medium and avail capacity of backends.\n"
+ "Create failed replications:\n" + failedMsg);
}
}