Skip to content

Draft: search index partitions POC

John Mason requested to merge jm-search-index-partitions into master

TODO

(Checked if completed in this MR. Strikethrough if added to epic: &9919)

  • creating search indices should update global search alias with index: is_write_index: false
  • deleting search indices should update global search alias
  • creating search indices should also create a write alias for that index
  • deleting search indices should also delete the write alias for that index
  • create a migration that backfills indexed namespaces and projects that don't have an index assignment with legacy index
  • add FF scoped to project in NoteInstanceProxy#index_name
  • create a configurable AR model for index naming settings
  • update ReindexingService#indexing_paused! to support partitioned indices
  • remove delete_from_rolled_over_indices logic from BulkIndexer
  • remove delete_from_rolled_over_indices logic from go indexer
  • create Search::IndexAssignmentChange and a corresponding worker that will pause indexing for affected namespace and handle reindexing
  • create Search::IndexAssignment AR model
Edited by John Mason

Merge request reports