Backport #28708 by wxiaoguang Regression of #27723 Fix #28705 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit 7f833d8f71)
7f833d8f71