Skip to content

Disconnect the client if the backend quits #195

Closed
@djshow832

Description

@djshow832
Collaborator

Development Task

On the serverless tier, when the client is idle for 5 minutes, the backend will quit. But the TiProxy doesn't know the backend quits because it's still reading the client. Then, the serverless tier thinks the connection is still alive and then wakes up a new TiDB instance.

So, TiProxy should always detect the backend and disconnect the client when the backend quits.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @djshow832

    Issue actions

      Disconnect the client if the backend quits · Issue #195 · pingcap/tiproxy