It's a backport for CE version https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25365
https://gitlab.com/gitlab-org/gitlab-ce/issues/51433