Skip to content

Add upvotes field to issues index

Dmitry Gruzd requested to merge 263365-add-upvotes-field-to-issues into master

What does this MR do?

This MR introduces an Advanced Search migration to add the upvotes field to the gitlab-production-issues index. We have approximately 8m documents. With throttle_delay 3.minutes and QUERY_BATCH_SIZE = 5000 it would take ((8_000_000 / 5_000) * 3) = 4800, which is 80 hours (~3 days).

#263365

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related to #263365

Edited by Dmitry Gruzd

Merge request reports