@Murphy Since we made some modifications ourselves, it’s not convenient to directly upgrade to the latest version of 3.4.x, so we’re thinking of merging the related PRs #57404 and #59161. Is that sufficient?
Additionally, there’s a question: When adding this code else if (Config.task_runs_max_history_number > 0) { sql += ” ORDER BY create_time DESC LIMIT ” + Config.task_runs_max_history_number; }, how does this limit n get pushed down to BE? BE retrieves the limit parameter from _param->limit.