You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2021. It is now read-only.
Is your feature request related to a problem? Please describe:
When lightning is doing its job, user still can access importing tables, so he may see non-consistent data or interfere checksum processing.
Describe the feature you'd like:
using RENAME TABLE to hide importing tables, both in cluster initiation and online importing scenarios. In order to handle lightning not gracefullly exit, we might save recoving renaming SQLs to a table so user could copy-paste it 😂
Describe alternatives you've considered:
downstream already has a technique to detect killed lightning like "ImportMode", so maybe we could let downstream recover renaming instead of user.
use LOCK TABLES rather than RENAME, but require TiDB enable-lock-tables in config
Feature Request
Is your feature request related to a problem? Please describe:
When lightning is doing its job, user still can access importing tables, so he may see non-consistent data or interfere checksum processing.
Describe the feature you'd like:
using RENAME TABLE to hide importing tables, both in cluster initiation and online importing scenarios. In order to handle lightning not gracefullly exit, we might save recoving renaming SQLs to a table so user could copy-paste it 😂
Describe alternatives you've considered:
enable-lock-tablesin configTeachability, Documentation, Adoption, Optimization: