Open tiancaiamao opened 15 hours ago
/cc @MyonKeminta
maybe https://github.com/pingcap/tidb/issues/57960 is also related? Maintaining minTS for GC should be designed at a proper layer, without these special handling of infoschema and analyze
maybe #57960 is also related? Maintaining minTS for GC should be designed at a proper layer, without these special handling of infoschema and analyze
I'm not sure. We need to check the error stack to confirm it.
Enhancement
Currently, the meta package use old transaction API, unlike normal internal transaction, those APIs can not block the GC worker (not updating min start ts).
This may cause "GC life time is shorter than transaction duration" error for InfoSchema V2.
Maybe a possible fix is collect the min start ts of all snapshot infoschemas.