morningman opened a new issue, #9330:
URL: https://github.com/apache/incubator-doris/issues/9330

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   1.0.0
   
   ### What's Wrong?
   
   in #8030, we removed lots of code about old meta data in FE, 
   But the logic of saveAlterJob was modified incorrectly. Cause the alter job 
to be lost in the image.
   But this may not bring data problems, the analysis is as follows:
   
   ### Case 1. Do checkpoint before job is finished.
   * [image: alter job(pending)]: The job information is lost, but the data is 
not changed. Like nothing happened.
   * [image: alter job(pending)] + [editlog: alter job(waiting_txn)]: The 
information in the pending stage is lost, but there is still complete job 
information in the edit log, and the execution can continue.
   
   ### Case 2. Do checkpoint after job is finished.
   * [image: alter job(finished)]: Modifications to metadata are already stored 
in the image, the only thing missing is the job history.
   
   So this error does not result in a data error.
   But it remains a potential risk.
   
   
   ### What You Expected?
   
   fix it
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.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