minyk opened a new issue, #13951:
URL: https://github.com/apache/dolphinscheduler/issues/13951

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Our version is 3.0.5 but dev branch has the same code.
    
   During master is restarting, processes and tasks are failover too. But in 
`ProcessInstanceImpl.java`'s `constructProcessInstance` only reset global 
params while repeat running is needed by cmdParam: 
https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java#L773-L776
   
   I don't know why this case only. I believe also reset global params from 
cmdParam when `RECOVER_TOLERANCE_FAULT_PROCESS` CommandType too.
   
   ### What you expected to happen
   
   Failover tasks should use global parameters from start parameters.
   
   ### How to reproduce
   
   Processes are started with some start parameters. then these processes are 
running, kill the specific master that handles  processes. tasks failover and 
restart, but start parameters are missing.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.x
   
   ### Are you willing to submit PR?
   
   - [ ] 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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to