The tidb one seems like it’s a bug, they’ve created a tracker for it: https://github.com/pingcap/tidb/issues/41052