executor: check gc safe time first when iterate the history ddl jobs (#18380)
executor: check gc safe time first when iterate the history ddl jobs (#18380)


c4pt0r/tidb,c4pt0r/tidb,EvilMcJerkface/tidb,ngaut/tidb,kyle-wang/tidb,kyle-wang/tidb,kyle-wang/tidb,pingcap/tidb,kyle-wang/tidb,ngaut/tidb,XuHuaiyu/tidb,coocood/tidb,ngaut/tidb,pingcap/tidb,ngaut/tidb,kyle-wang/tidb,pingcap/tidb,XuHuaiyu/tidb,c4pt0r/tidb,kyle-wang/tidb,c4pt0r/tidb,pingcap/tidb,coocood/tidb,ngaut/tidb,pingcap/tidb,c4pt0r/tidb,pingcap/tidb,c4pt0r/tidb,EvilMcJerkface/tidb,ngaut/tidb