Zoekt: Add mark_ready task
Background
This issue is for implementing the mark_ready scheduling task.
Proposal
- Iterates over
Search::Zoekt::Index.where(state: :initializing) - Checks that
index.repositores.where(state: [:pending, :initializing]).count == 0 - Updates the state
index.update!(state: :ready)
Edited by Dmitry Gruzd