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] [master] the task depend type is null when recovery suspend #13972

Closed
3 tasks done
eye-gu opened this issue Apr 20, 2023 · 4 comments · Fixed by #14612
Closed
3 tasks done

[Bug] [master] the task depend type is null when recovery suspend #13972

eye-gu opened this issue Apr 20, 2023 · 4 comments · Fixed by #14612
Labels
bug Something isn't working Waiting for reply Waiting for reply

Comments

@eye-gu
Copy link
Contributor

eye-gu commented Apr 20, 2023

Search before asking

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

What happened

image

image

When I trigger recovery suspend, the taskDependType of the Command in the database is set to null. But when the master node get the Command, it becomes Task_ only. The check about checkCmdParam failed.

What you expected to happen

recovery suspend success

How to reproduce

recovery suspend

Anything else

I found Command have default taskDependType, but it is not useful with @Builder. Maybe should use @Builder.Default

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@eye-gu eye-gu added bug Something isn't working Waiting for reply Waiting for reply labels Apr 20, 2023
@github-actions
Copy link

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

@eye-gu
Copy link
Contributor Author

eye-gu commented Apr 20, 2023

The database is null, but the reason for returning a 0 value enumeration should be due to a problem with mybatisplus. I have raised an issue with the mybatisplus community: baomidou/mybatis-plus#5266

@eye-gu eye-gu changed the title [Bug] [Module Name] the task depend type is null when recovery suspend [Bug] [master] the task depend type is null when recovery suspend Apr 21, 2023
@eye-gu
Copy link
Contributor Author

eye-gu commented Apr 28, 2023

The database is null, but the reason for returning a 0 value enumeration should be due to a problem with mybatisplus. I have raised an issue with the mybatisplus community: baomidou/mybatis-plus#5266

This issue has been identified as an error in the mysql-java driver. I tested that the driver has been fixed on version 8.0.33. Perhaps DS also needs to be upgraded.

@eye-gu
Copy link
Contributor Author

eye-gu commented Jul 12, 2023

ResultSetImpl.getObject(), when autoboxing a value of a primitive type retrieved from a column, returned a non-null object when the retrieved value was null. (Bug #29446100, Bug #94533)

https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-17.html

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

Successfully merging a pull request may close this issue.

1 participant