-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Feature Request
Can lightning support specifying session variables to use in lightning config?
In our case, we want to disable the async_commit
in lightning, that is because during our test on stale read on TiDB cluster, we find out that async_commit could block stale_ts, which will block the whole tikv node. Since this issue will not be solved in a short time, we want to disable the async_commit in lightning for now and here is my pr: #46961
But I think we can generalize it by enabling lightning to let users specify a lit of session variable in the config that they want to use.
What is your thinking on this?
Is your feature request related to a problem? Please describe:
Describe the feature you'd like:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy: