Skip to content

[Improve][SDK] Fix panic on sending to a closed channel during shutdown in the DataProxy Go SDK #12199

Description

@yfsn666

Description

In the Dataproxy Go SDK, sending on the already-closed sendFailedBatches, retryBatches, or responseBatches channels during shutdown can raise a "send on closed channel" panic and crash the process.

InLong Component

InLong SDK

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions