Skip to content

katib-db-manager mysql statement leak #1719

@chenwenjun-github

Description

@chenwenjun-github

/kind bug

What steps did you take and what happened:
katib-db-manager report metric to mysql use db.Prepare, but it's not close the statement , this will casue statement of mysql reach max_prepared_stmt_count when much katib experiement was been submited.
image
image
image

What did you expect to happen:
close the statement when db.exec end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions