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][Manager] Agent get task from manager error #2736

Closed
2 tasks done
binaryWorld opened this issue Feb 26, 2022 · 0 comments · Fixed by #2738
Closed
2 tasks done

[Bug][Manager] Agent get task from manager error #2736

binaryWorld opened this issue Feb 26, 2022 · 0 comments · Fixed by #2738
Assignees
Labels
Milestone

Comments

@binaryWorld
Copy link
Contributor

binaryWorld commented Feb 26, 2022

What happened

The error occurred while executing a query

SQL: select         detail.inlong_group_id,         detail.inlong_stream_id,         detail.modify_time,         detail.uuid,         detail.agent_ip,         detail.status mod 100 as op,         detail.id,         detail.source_type,         detail.snapshot,         detail.ext_params,         from stream_source detail,         where detail.is_deleted = 0                       and detail.agent_ip = ?                                 and detail.uuid = ?                   and (floor(detail.STATUS / 100) = 2)

Cause: java.sql.SQLException: sql injection violation, dbType mysql, , druid-version 1.2.5, syntax error: ERROR. pos 330, line 13, column 10, 

What you expected to happen

No error occurred while executing a query.

Environment

No response

InLong version

1.0.0

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@binaryWorld binaryWorld added the type/bug Something is wrong label Feb 26, 2022
binaryWorld pushed a commit to binaryWorld/incubator-inlong that referenced this issue Feb 26, 2022
@healchow healchow changed the title [Bug]fix agent get task from manager [Bug][Manager] Agent get task from manager error Feb 26, 2022
@healchow healchow added this to the 1.1.0 milestone Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants