Skip to content

[Bug] [jdbc-registry] After database out of service for longer than session timeout time, client heartbeat will never be updated #18274

@qiong-zhou

Description

@qiong-zhou

Search before asking

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

What happened

After database out of service for longer than session timeout time, client heartbeat will never be updated.

What you expected to happen

If the database recover after session timeout time, client heatbeat should be updated again.

How to reproduce

  1. Shutdown database server for a session timeout time.
  2. Start database server.
  3. If the scheduled task purgeInvalidJdbcRegistryMetadata purge the client heart beat before the heart beat be updated. After the client heart beat being deleted, the heart beat will never be updated by that client ID.

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions