Closed gt199899 closed 3 months ago
Hi:
For now, after add some seq, it work
create sequence t_ds_task_definition_id_sequence increment by 1 minvalue 1 no maxvalue start with 1;
alter table t_ds_task_definition alter column id set default nextval('t_ds_task_definition_id_sequence');
create sequence t_ds_task_definition_log_id_sequence increment by 1 minvalue 1 no maxvalue start with 1;
alter table t_ds_task_definition_log alter column id set default nextval('t_ds_task_definition_log_id_sequence');
create sequence t_ds_process_definition_log_id_sequence increment by 1 minvalue 1 no maxvalue start with 1;
alter table t_ds_process_definition_log alter column id set default nextval('t_ds_process_definition_log_id_sequence');
create sequence t_ds_process_task_relation_id_sequence increment by 1 minvalue 1 no maxvalue start with 1;
alter table t_ds_process_task_relation alter column id set default nextval('t_ds_process_task_relation_id_sequence');
create sequence t_ds_process_task_relation_log_id_sequence increment by 1 minvalue 1 no maxvalue start with 1;
alter table t_ds_process_task_relation_log alter column id set default nextval('t_ds_process_task_relation_log_id_sequence');
Is the creation of seq missing when the database is initialized?
Search before asking
What happened
Hi, there
I follow https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/docker.html, and build dolphinscheduler with docker-compose, everything is fine until create process.
When i save process, then response error.
API: /dolphinscheduler/projects/4096931718784/process-definition Error resposne:
And error log in API:
And i have found same issue https://github.com/apache/dolphinscheduler/issues/4650, but it looks like this problem reappeared in version 2.0.1.
What you expected to happen
create process success.
How to reproduce
Just follow https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/docker.html, and build dolphinscheduler with docker-compose.
Anything else
No response
Version
2.0.1
Are you willing to submit PR?
Code of Conduct