Geo: admin panel for uploads

In support of providing a robust disaster recovery solution for GitLab we are building verification tools. To make sure that verification isn't overlooked we should automatically run verification tasks in the background to check the health of secondaries, specifically of uploads.

Backend work

The backend changes are described in the following issues:

  • https://gitlab.com/gitlab-org/gitlab-ee/issues/7184 Constantly verify uploads on Geo primary
  • https://gitlab.com/gitlab-org/gitlab-ee/issues/7257 Geo: Automatically verify uploads on secondaries
  • https://gitlab.com/gitlab-org/gitlab-ee/issues/7258 Geo: Automatically heal uploads on secondaries

Frontend work

The feature will work similar as the Geo projects panel: https://gitlab.com/gitlab-org/gitlab-ee/issues/7126#design-proposals

So admins can see lists of uploads, with their state (OK, mismatch, missing, etc?), and optionally have some buttons to reverify or sync from one node to another.

Todo

  • Build Rails controller CRUD
  • Build frontend UI
  • Testing

UX

UX for high-level view of upload verification

We can add similar bars for uploads next to these.

image

UX for Admin > Geo > Uploads

We can copy UI from Admin > Geo > Projects.

image

Links

  • https://gitlab.com/gitlab-org/gitlab-ee/issues/4862

Don't forget to do

  • Ensure orphaned uploads are handled https://gitlab.com/gitlab-org/gitlab-ee/issues/5916
Edited Apr 08, 2019 by Toon Claes
Assignee Loading
Time tracking Loading