nextdreamblue commented on code in PR #11942:
URL: https://github.com/apache/doris/pull/11942#discussion_r950965400


##########
fe/fe-core/src/main/java/org/apache/doris/backup/RestoreJob.java:
##########
@@ -1858,6 +1893,7 @@ public void readFields(DataInput in) throws IOException {
             String value = Text.readString(in);
             properties.put(key, value);
         }
+        reserveReplica = 
Boolean.parseBoolean(properties.get(PROP_RESERVE_REPLICA));

Review Comment:
   如果不这样保存,而是使用单独一个值去write和read,那么老的没有该值的恢复任务在加载的时候,直接会报错,元数据读取失败。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to