This is an automated email from the ASF dual-hosted git repository.
panxiaolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new cbb90a693c [chore](mv) when create mv failed, show more failed msg
(#21726)
cbb90a693c is described below
commit cbb90a693c28c6e662bb4a66520d133dd180683f
Author: zhangstar333 <[email protected]>
AuthorDate: Tue Jul 11 19:18:28 2023 +0800
[chore](mv) when create mv failed, show more failed msg (#21726)
when create mv failed, show more failed msg
---
fe/fe-core/src/main/java/org/apache/doris/alter/RollupJobV2.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/alter/RollupJobV2.java
b/fe/fe-core/src/main/java/org/apache/doris/alter/RollupJobV2.java
index 3ca0ad2e0e..3914a7bb37 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/alter/RollupJobV2.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/alter/RollupJobV2.java
@@ -459,9 +459,8 @@ public class RollupJobV2 extends AlterJobV2 implements
GsonPostProcessable {
.getReplicaAllocation(task.getPartitionId()).getTotalReplicaNum();
int failedTaskCount =
failedAgentTasks.get(task.getTabletId()).size();
if (expectSucceedTaskNum - failedTaskCount <
expectSucceedTaskNum / 2 + 1) {
- throw new AlterCancelException(
- "rollup tasks failed on same tablet reach
threshold "
- +
failedAgentTasks.get(task.getTabletId()));
+ throw new AlterCancelException("rollup tasks failed on
same tablet reach threshold "
+ + failedAgentTasks.get(task.getTabletId()) +
", reason=" + task.getErrorMsg());
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]