Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Simplify prover_jobs_fri indices #3577

Merged
merged 4 commits into from
Feb 10, 2025
Merged

Conversation

EmilLuta
Copy link
Contributor

@EmilLuta EmilLuta commented Feb 7, 2025

A couple of indices accumulated over time, parts of old prover and different setups of house keeper and PJM.

This PR removes unused indices and adds only bare minimum.

Indices left after this PR:

  • idx_prover_jobs_fri_get_next_job - used for most heavy query: get next job
  • prover_jobs_fri_composite_index - common index, used across prover job monitor & witness generators (leaf, node, scheduler)
  • prover_jobs_fri_l1_batch_number_is_node_final_proof_status - used for recursion tip to collect all node proof data
  • prover_jobs_fri_status_processing_started_at_idx - used for requeuing stuck jobs

A couple of indices accumulated over time, parts of old prover and
different setups of house keeper and PJM.

This PR removes unused indices and adds only bare minimum.

Indices left after this PR:
- idx_prover_jobs_fri_get_next_job - used for most heavy query: get next
  job
- prover_jobs_fri_composite_index - common index, used across prover job
  monitor & witness generators (leaf, node, scheduler)
- prover_jobs_fri_l1_batch_number_is_node_final_proof_status - used for
  recursion tip to collect all node proof data
- prover_jobs_fri_status_processing_started_at_idx - used for requeuing
  stuck jobs
yorik
yorik previously approved these changes Feb 7, 2025
@EmilLuta EmilLuta enabled auto-merge February 10, 2025 12:01
@EmilLuta EmilLuta added this pull request to the merge queue Feb 10, 2025
Merged via the queue into main with commit 559edc3 Feb 10, 2025
28 checks passed
@EmilLuta EmilLuta deleted the evl-simplify-prover-jobs-indices branch February 10, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants