tidb-dashboard icon indicating copy to clipboard operation
tidb-dashboard copied to clipboard

Implement a new dynamic config infra for TiDB Dashboard

Open breezewish opened this issue 4 years ago • 0 comments

Current defeats:

  • All DynamicConfig items share the same notification channel.
  • Notification channel does not support external change (for example, performed by CLI).

Proposal new infra:

  • Use etcd watch API for notification channel (polling is still needed in case of watch channel is silently broken).
  • Store each config item in different keys.

After this new infra is implemented:

  • Current KeyViz and AutoProfiling can be migrated to use this infra.
  • Some config items in the config file should be moved to use dynamic config, like PublicPathPrefix and EnableExperimental.

breezewish avatar Nov 11 '20 12:11 breezewish