yakcy commented on issue #4650:
URL:
https://github.com/apache/incubator-dolphinscheduler/issues/4650#issuecomment-777935444
dev branch test is ok ,as follows:
【create】
`2021-02-12 10:39:37.255 INFO 1180 --- [qtp830083467-38]
o.a.d.a.c.ProcessDefinitionController : login user yankexi, **create**
process definition, project name: dev, process definition name: dag_2h131j6fd,
process_definition_json:
{"globalParams":[],"tasks":[{"type":"SHELL","id":"tasks-24289","name":"shell-task-1","params":{"resourceList":[],"localParams":[],"rawScript":"echo
\"hello
world\""},"description":"test","runFlag":"NORMAL","conditionResult":{"successNode":[""],"failedNode":[""]},"dependence":{},"maxRetryTimes":"0","retryInterval":"1","delayTime":"0","timeout":{"strategy":"","interval":null,"enable":false},"waitStartTimeout":{},"taskInstancePriority":"MEDIUM","workerGroup":"default","preTasks":[]}],"tenantId":-1,"timeout":0},
desc:
locations:{"tasks-24289":{"name":"shell-task-1","targetarr":"","nodenumber":"0","x":143,"y":51}},
connects:[]`
【update】
`2021-02-12 10:42:26.967 INFO 1180 --- [qtp830083467-39]
o.a.d.a.c.ProcessDefinitionController : login user yankexi, **update**
process define, project name: dev, process define name: wf_shell_test,
process_definition_json:
{"globalParams":[],"tasks":[{"id":"tasks-24289","name":"shell-task-1","desc":null,"type":"SHELL","runFlag":"NORMAL","loc":null,"maxRetryTimes":0,"retryInterval":1,"params":{"resourceList":[],"localParams":[],"rawScript":"echo
\"hello world\"\necho \"happy new
year\""},"preTasks":[],"extras":null,"depList":[],"dependence":{},"conditionResult":{"successNode":[""],"failedNode":[""]},"taskInstancePriority":"MEDIUM","workerGroup":"default","workerGroupId":null,"timeout":{"strategy":"","interval":null,"enable":false},"delayTime":0,"waitStartTimeout":{}}],"tenantId":1,"timeout":0},
desc: ,
locations:{"tasks-24289":{"name":"shell-task-1","targetarr":"","nodenumber":"0","x":143,"y":51}},
connects:[]`
So , can you check PG "t_ds_process_definition_id_sequence" is all right?
And table id default "nextval('t_ds_process_definition_id_sequence'::regclass)"
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]