This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new a46af29 [fix](meta) fix bug that FE can't start due to wrong image
reading (#8045)
a46af29 is described below
commit a46af29051e561b4578cba35c149302f1a53f684
Author: yiguolei <[email protected]>
AuthorDate: Wed Feb 16 11:58:40 2022 +0800
[fix](meta) fix bug that FE can't start due to wrong image reading (#8045)
should remove decommission job type from enum
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
index e16eb5a..933ba28 100755
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Catalog.java
@@ -1824,11 +1824,7 @@ public class Catalog {
public long loadAlterJob(DataInputStream dis, long checksum) throws
IOException {
long newChecksum = checksum;
for (JobType type : JobType.values()) {
- if (type == JobType.DECOMMISSION_BACKEND) {
- throw new IOException("There should be no DECOMMISSION_BACKEND
jobs. Please downgrade FE to an older version and handle residual jobs");
- } else {
- newChecksum = loadAlterJob(dis, newChecksum, type);
- }
+ newChecksum = loadAlterJob(dis, newChecksum, type);
}
LOG.info("finished replay alterJob from image");
return newChecksum;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]