auguszero opened a new issue #8415: URL: https://github.com/apache/dolphinscheduler/issues/8415
### 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 ### 问题现象: 脚本: ```shell time=$(date "+%Y-%m-%d %H:%M:%S") echo $time echo ${date_from} ``` 全局变量 date_from=$[yyyy-MM-dd]  定时执行 为每30秒执行一次。 ### 操作及现象记录 1. 自动定时执行。计划 结果:打印date_from 结果为 2022-02-17  2. 手动执行,并修改全局变量为 2022-02-16。 期望结果 : 打印date_from 结果为 2022-02-16  3. 等待定时任务自动执行,期望结果: 打印date_from 结果为 2022-02-17 。  结果为: host与手动吊起任务落在同一个worker的节点,被受影响。 <b>结论:</b> 全局变量赋值是否未落盘至DB中,仅保存在本地的memory中,并且多个worker 变量之间的同步存在数据不一致的情况。 ### What you expected to happen 如上 ### How to reproduce 如上 ### Anything else _No response_ ### Version 2.0.1 ### 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]
