Skip to content

GC bind record with deleted status #26191

Closed
@eurekaka

Description

Enhancement

Currently, DROP GLOBAL BINDING would only mark the bind as deleted, i.e, it is not physically removed from mysql.bind_info since we rely on its update_time column for incremental synchronization of the bind record to all tidb servers. Hence in the long run, the number of rows in mysql.bind_info would become larger and larger. We decide to internally GC those bind records with deleted status, and the update_time is 10 leases ago, which means that these records are supposed to be synced by all tidb servers.

Activity

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions