Commit 8a3a44fb authored by Gabriel Mazetto's avatar Gabriel Mazetto

Add hashed storage checks to `gitlab:app:check`

Backported hashed storage checks to CE and updated documentation to
state that Hashed Storage deprecated in 13.0
parent 08efee10
---
title: app:gitlab:check rake task now warns when projects are not in hashed storage
merge_request: 31172
author:
type: changed
......@@ -11,8 +11,8 @@ module SystemCheck
def show_error
try_fixing_it(
"Please migrate all projects to hashed storage#{' on the primary' if Gitlab::Geo.secondary?}",
"to avoid security issues and ensure data integrity."
"Please migrate all projects to hashed storage#{' on the primary' if Gitlab.ee? && Gitlab::Geo.secondary?}",
"as legacy storage is deprecated in 13.0 and support will be removed in 13.4."
)
for_more_information('doc/administration/repository_storage_types.md')
......
......@@ -31,7 +31,9 @@ module SystemCheck
SystemCheck::App::GitVersionCheck,
SystemCheck::App::GitUserDefaultSSHConfigCheck,
SystemCheck::App::ActiveUsersCheck,
SystemCheck::App::AuthorizedKeysPermissionCheck
SystemCheck::App::AuthorizedKeysPermissionCheck,
SystemCheck::App::HashedStorageEnabledCheck,
SystemCheck::App::HashedStorageAllProjectsCheck
]
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment