[chore](prompt) Optimize tablet and replica prompt by pointing out what the numbers mean (#28925)

This commit is contained in:
Gavin Chou
2023-12-24 22:29:24 +08:00
committed by GitHub
parent bade50db56
commit d8cb4da73d
2 changed files with 5 additions and 4 deletions

View File

@ -837,7 +837,8 @@ public class OlapScanNode extends ScanNode {
if (backend == null || !backend.isAlive()) {
LOG.debug("backend {} not exists or is not alive for replica {}", replica.getBackendId(),
replica.getId());
errs.add(replica.getId() + "'s backend " + replica.getBackendId() + " does not exist or not alive");
errs.add("replica " + replica.getId() + "'s backend " + replica.getBackendId()
+ " does not exist or not alive");
continue;
}
if (!backend.isMixNode()) {
@ -875,7 +876,7 @@ public class OlapScanNode extends ScanNode {
}
}
if (tabletIsNull) {
throw new UserException(tabletId + " have no queryable replicas. err: "
throw new UserException("tablet " + tabletId + " has no queryable replicas. err: "
+ Joiner.on(", ").join(errs));
}
TScanRange scanRange = new TScanRange();