wesql / wescale

WeScale is a Modern MySQL proxy that supports read-write-split, read-after-write-consistency, load balancing and OnlineDDL.
Apache License 2.0
199 stars 8 forks source link

[Bug Report] The primary tablet will panic after running for a while #468

Closed newborn22 closed 5 months ago

newborn22 commented 6 months ago

Overview of the Issue

The panic reason is that the parameter tables map[string]*schema.Table of func (me *Engine) schemaChanged(tables map[string]*schema.Table, created, altered, dropped []string) is nil, which cause invalid memory access.

image

Reproduction Steps

Start primary tablet and wait for a while.

Binary Version

The code version is: origin/feature/database_proxy_filter

Operating System and Environment details

Local goland environment.

Log Fragments

No response