升级TiDB5.2.3后,一直报TiKV_pending_task(类型为gc-worker),日志显示range delete error

应该和 use-delete-range 参数没关系,可以试试关掉 gc compaction filter:

set config tikv gc.enable-compaction-filter = false;