Implement workhorse acceleration for wiki attachments

Wiki attachments don't get the benefits of workhorse disk acceleration (see https://gitlab.com/gitlab-org/gitlab-ce/issues/63097)

According to our wiki API implementation in this upload the file is multipart request.

This kind of upload can be accelerated from workhorse, but it will require changing the API implementation in rails.

Development log

Status

  • gitlab-foss24926493 gitlab-foss41077582 MR gitlab-workhorse!422 (merged)
  • backend in GitLab FOSS MR gitlab-foss!32663 (merged)
  • workhorse release
  • upgrade workhorse version

Decisions

  • In order to avoid service disruption gitlab-foss!32663 (merged) will be able to work with an old workhorse without the acceleration

The next iteration

  • Remove the support for not accelerated files
Edited Oct 06, 2020 by Alessio Caiazza
Assignee Loading
Time tracking Loading