Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [server] execute COMPLEMENT_DATA command always missing some ack event #8367

Closed
2 of 3 tasks
ruancheng77 opened this issue Feb 14, 2022 · 7 comments
Closed
2 of 3 tasks
Labels
bug Something isn't working priority:high
Milestone

Comments

@ruancheng77
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

when I execute COMPLEMENT_DATA task.
For example, 1 to 20. And then some task instances always missing field value(start_time/execute_path/log_path)
I find this is due to missing ack event, but I don't kown why missing.
image

What you expected to happen

all task instance should to be create success.

How to reproduce

Execute task with COMPLEMENT_DATA and date range is longer and bester.

Anything else

No response

Version

2.0.3

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ruancheng77 ruancheng77 added bug Something isn't working Waiting for reply Waiting for reply labels Feb 14, 2022
@github-actions
Copy link

Hi:

@SbloodyS
Copy link
Member

Hi, can you please describe the steps of reproduce this issue? ^_^

@ruancheng77
Copy link
Author

ruancheng77 commented Feb 16, 2022

1.create a work with shell task(echo some message).
2.Execute work with COMPLEMENT_DATA type(Execution mode: seria and schedule time choose 20 days)
3.Look task log When work done. Always some task is missing log but it is execute success.

@SbloodyS
Copy link
Member

Hi, I just tested the serial complement data in 2.0.3-release for 20 days, and I can't reproduce this problem. whitch version you are using?

@ruancheng77
Copy link
Author

You need goto task detail and look task log.
Some task missing log.
You can look t_ds_task_instance table records. Some record missing start_time/log_path value, that record just like image show.
image

@SbloodyS
Copy link
Member

@ruancheng77 I can successfully reproduce this problem. The task instance is actually executed successfully, but the log does not save in the t_ds_task_intance, resulting in the failure of query on the UI. I will check this issue. Thank you for your feedback. ^_^

@caishunfeng caishunfeng added this to the 2.0.4-release milestone Feb 16, 2022
@caishunfeng caishunfeng added priority:high and removed Waiting for reply Waiting for reply labels Feb 16, 2022
@caishunfeng
Copy link
Contributor

I found that workflowExecuteThread use same processInstance java object to run serial complement, which will dismatch the key and value in global processInstanceMap. So when check processInstanceMap.contain(processInstance.id), it will get the error result you don't want, and skip doing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high
Projects
None yet
Development

No branches or pull requests

3 participants