pingcap / pingcap/tidb

lazily replaying sql bindings for session manager

Open
#35,855 0 comments 0 reactions 1 assignee Claimed by @djshow832 View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

This is similar to https://github.com/pingcap/tidb/issues/35806:
Replaying SQL bindings needs to parse the hints because the hints are hard to be encoded. So after the table / db is dropped / altered, sql_mode is changed, or privilege is updated, replaying sql bindings may encounter an error.
A solution is to delay the replaying until it's really accessed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.