Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include task_id in effective primary keys for all tables. (#2074)
This updates the aggregation_jobs & collection_jobs tables; previously, only the direct ID (aggregation_job_id or collection_job_id) was treated as the effective primary key. For both tables, this will allow an indexed lookup where previously a scan was required (in get_aggregation_job/get_collection_job, respectively), though in both cases the most direct ID could be looked-up by index and then the task ID checked.
- Loading branch information